-------------------------------------------------------------------------------------------------------------------------------------------
      name:  <unnamed>
       log:  C:\Users\Anouk\Dropbox\LSE\'12-now CSHSRU\SiT\Drones paper\Data\replication\log\Rigterink_drones_replication_maintext.log
  log type:  text
 opened on:  26 Aug 2020, 13:15:23

. 
. 
. /*----------------------------------------------------------
> ---------Programs needed to produce main results -----------
> ----------------------------------------------------------*/
. 
. * To calculate Wald statistics for joint significance of coefficients 
. prog define Fstats, eclass
  1. {
  2. capture noisily: testparm L*_bigfishdied
  3. capture: eret scalar lagF = r(p)
  4. capture noisily: testparm F*_bigfishdied
  5. capture: eret scalar leadF = r(p)
  6. capture: testparm L*_bigfishtarget
  7. capture: eret scalar lagFtarget = r(p)
  8. capture: testparm F*_bigfishtarget
  9. capture: eret scalar leadFtarget = r(p)
 10. local depvar = e(depvar)
 11. sum `depvar' if (L1_bigfishtarget==1 & L1_bigfishdied==0) | (L2_bigfishtarget==1 & L2_bigfishdied==0) | (L3_bigfishtarget==1 & L3_bigf
> ishdied==0) | (L4_bigfishtarget==1 & L4_bigfishdied==0) | (L5_bigfishtarget==1 & L5_bigfishdied==0) | (L6_bigfishtarget==1 & L6_bigfishdi
> ed==0) 
 12. eret scalar cmean = r(mean)
 13. }
 14. 
. end

. 
. * Calculating coefficients subject to quadratic constraint 
. do "do/quadratic.do"

. * ImposeQuadraticConstraints
. 
. ** This do-file defines the program to impose the quadratic constraints.  Then you call it...
. 
. capture program drop SimonConstraints

. 
. program SimonConstraints
  1.         args p q start matname
  2. 
.         matrix `matname' = J(`p', `q', 0)
  3.         local m = `q' + 1
  4. 
.         forvalues i = 1/`p' {
  5.         
.                 local Target1   = `i' - 1 + `start'
  6.                 local Target2   = `i' - 1 + `start' + 1
  7.                 local Target3   = `i' - 1 + `start' + 2
  8.                 local Target4   = `i' - 1 + `start' + 3
  9.                 
.                 matrix `matname'[`i', `Target1']        = -1
 10.                 matrix `matname'[`i', `Target2']        = 3
 11.                 matrix `matname'[`i', `Target3']        = -3
 12.                 matrix `matname'[`i', `Target4']        = 1
 13.                 
.                 
.         }
 14. 
. end

. 
. capture program drop DefineQuadraticConstraintsM

. 
. program DefineQuadraticConstraintsM
  1. 
.         args    MyOutcomeVariable
  2. 
.         * First, figure out how many controls there are...
. 
.         quietly         reg terratt i.period i.groupid F*bigfishtarget bigfishtarget L*_bigfishtarget bigfishdied *dronestrike
  3.         global          ControlCount            = e(rank)
  4.                                 di $ControlCount
  5. 
.         * Second, figure out the total number of variables we will need...
. 
.         quietly         reg terratt L*_bigfishdied i.period i.groupid F*bigfishtarget bigfishtarget L*_bigfishtarget F*bigfishdied bigfis
> hdied *dronestrike
  6.         global          ColumnsRequired = e(rank) + 3
  7.                                 di $ColumnsRequired
  8. 
.         * Third, count each of the separate treatment dummy sets...
. 
.         global  CurrentRestrictionCount = 0
  9.         
.         rename (L*_bigfishdied F*_bigfishdied) (L*_1 L*_2)
 10.         
.         forvalues TreatmentLabel = 1/2 ///
>                 {
 11.         
.                 quietly         reg terratt L*_`TreatmentLabel' i.period i.groupid F*bigfishtarget bigfishtarget L*_bigfishtarget bigfish
> died *dronestrike
 12.                 
.                 global          RestrictionSize         = e(rank) - $ControlCount- 3
 13.                 
.                 global          StartingVariable        = $CurrentRestrictionCount + 1 
 14.                 
.                 SimonConstraints $RestrictionSize $ColumnsRequired $StartingVariable    CB`TreatmentLabel'
 15.                 
.                 display "$RestrictionSize $ColumnsRequired $StartingVariable    ConstraintBlock`TreatmentLabel'"
 16. 
.                 global          CurrentRestrictionCount = $CurrentRestrictionCount + e(rank) - $ControlCount
 17.                 
.                 }
 18.         
. 
.         rename (L*_1 L*_2)(L*_bigfishdied F*_bigfishdied) 
 19.         
.         matrix MyBigConstraint = (CB1 \ CB2)
 20. 
. end

. 
. exit

end of do-file

. 
. 
. /*----------------------------------------------------------
> ---------------------- Balance table -----------------------
> ----------------------------------------------------------*/
. 
. use "dta/Rigterink_drones_replication_strikeleveldata.dta", clear

. 
. * Defining all variables to go in balance table
. global balance "strikesprev6month hitprev6month missprev6month pakmilprev* pakmildayprev* peac*prev* *next6month year reward noincommand 
> mincas-maxinj totlead areadum* typedum* groupdum*"

. 
. * Generating balance table
. balancetable bigfishdied $balance using tables/Rigterink_Tab2.tex, replace wide(mean1 mean2 pval) pvalues ctitles("Mean miss" "Mean hit" 
> "p-value difference" "Observations") varlabels nopar staraux

. 
. 
. /*----------------------------------------------------------
> ----------------- Descriptive statistics -------------------
> ----------------------------------------------------------*/
. 
. use "dta/Rigterink_drones_replication_descriptives.dta", clear

. 
. * Defining all variables to calculating descriptive statistics for
. local allvars terratt unclaimed claimed p_success pakall afgh row meanndead ///
> targetpri targetciv targetmil killwoundus pakmil peace dronestrike firstatt infight

. 
. * Calculating summary statistics
. format `allvars' %9.3f

. fsum `allvars', format(%9.3f) uselabel

                            Variable |        N     Mean       SD      Min      Max                                                                                                                              
-------------------------------------+---------------------------------------------
         Number of terrorist attacks |     1733    5.066   15.592    0.000  175.000  
                   Unclaimed attacks |     1733    2.632    7.837    0.000   75.000  
                     Claimed attacks |     1733    2.383    8.417    0.000  109.000  
               \% successful attacks |     1733    0.278    0.435    0.000    1.000  
                  Attack in Pakistan |     1733    0.807    3.156    0.000   31.000  
               Attack in Afghanistan |     1733    3.175   14.641    0.000  175.000  
         Attack in rest of the world |     1733    1.080    5.432    0.000   73.000  
         Mean \# victims per attack. |     1733    1.443    5.858    0.000  139.000  
            Attack on private target |     1733    1.577    4.838    0.000   47.000  
           Attack on civilian target |     1733    5.058   15.564    0.000  175.000  
           Attack on military target |     1733    2.494    9.398    0.000  126.000  
               Attack with US victim |     1733    0.068    0.358    0.000    5.000  
           Pakistani military action |     1304    0.086    0.280    0.000    1.000  
            Peace agreement in force |     1304    0.206    0.405    0.000    1.000  
                       Drone strikes |     1733    0.219    0.642    0.000    7.000  
                         Splintering |     1733    0.016    0.124    0.000    1.000  
 Infighting between terrorist groups |     1733    0.023    0.227    0.000    5.000  

. 
. * Outputting table
. estpost summarize `allvars'

             |  e(count)   e(sum_w)    e(mean)     e(Var)      e(sd)     e(min)     e(max)     e(sum) 
-------------+----------------------------------------------------------------------------------------
     terratt |      1733       1733   5.066359   243.0989   15.59163          0        175       8780 
   unclaimed |      1733       1733   2.632429   61.41158   7.836554          0         75       4562 
     claimed |      1733       1733   2.383151   70.84272   8.416812          0        109       4130 
   p_success |      1733       1733   .2776709   .1894346   .4352409          0          1   481.2037 
      pakall |      1733       1733   .8072706   9.958215   3.155664          0         31       1399 
        afgh |      1733       1733   3.174841   214.3511   14.64073          0        175       5502 
         row |      1733       1733   1.079631   29.50982   5.432294          0         73       1871 
   meanndead |      1733       1733   1.442927   34.31622   5.858005          0        139   2500.592 
   targetpri |      1733       1733   1.577034   23.40587   4.837961          0         47       2733 
   targetciv |      1733       1733   5.057703   242.2403   15.56407          0        175       8765 
   targetmil |      1733       1733   2.493941   88.33094   9.398454          0        126       4322 
 killwoundus |      1733       1733     .06809   .1281555   .3579882          0          5        118 
      pakmil |      1304       1304   .0858896   .0785728   .2803084          0          1        112 
       peace |      1304       1304   .2062883   .1638591   .4047952          0          1        269 
 dronestrike |      1733       1733   .2186959   .4123062   .6421107          0          7        379 
    firstatt |      1733       1733   .0155799    .015346   .1238791          0          1         27 
     infight |      1733       1733   .0230814     .05143   .2267818          0          5         40 

. esttab using tables/Rigterink_Tab3.tex, replace cells("count mean sd min max") b(%9.3f) label nomtitle nonumber noobs
(output written to tables/Rigterink_Tab3.tex)

. 
. 
. /*----------------------------------------------------------
> --------------------- Some datawork ------------------------
> ----------------------------------------------------------*/
. 
. use "dta/Rigterink_drones_replication_descriptives.dta", clear

. 
. * Relabelling so labels will fit table column headers
. label var terratt "Terr. att."

. label var unclaimed "Unclaimed"

. label var claimed "Claimed"

. label var p_success "% success"

. label var meanndead "mean # vics."

. label var targetpri "Private"

. label var targetciv "Civilian"

. label var targetmil "Military"

. label var pakall "Pak."

. label var row "ROW"

. label var afgh "Afgh."

. label var stanfordaffil "Affil. att."

. label var firstatt "Splintering"

. label var killwoundus "US vic."

. label var infight "Infight"

. 
. * Logging all count variables
. gen terratt_unlog = terratt 

. label var terratt_unlog "Terr. att."

. 
. for var terratt unclaimed claimed targetpri targetciv targetmil ///
> terrattexAQ pakall row afgh killwoundus infight stanfordaffil ///
> stanfminAQ stanfminisis stanfordtargetpri stanfordtargetciv stanfordtargetmil ///
> stanfordsuccess stanfordkillwoundus: ///
> replace X = ln(X+1)

->  replace terratt = ln(terratt+1)
(514 real changes made)

->  replace unclaimed = ln(unclaimed+1)
(453 real changes made)

->  replace claimed = ln(claimed+1)
(401 real changes made)

->  replace targetpri = ln(targetpri+1)
(416 real changes made)

->  replace targetciv = ln(targetciv+1)
(514 real changes made)

->  replace targetmil = ln(targetmil+1)
(396 real changes made)

->  replace terrattexAQ = ln(terrattexAQ+1)
(417 real changes made)

->  replace pakall = ln(pakall+1)
(225 real changes made)

->  replace row = ln(row+1)
(156 real changes made)

->  replace afgh = ln(afgh+1)
(205 real changes made)

->  replace killwoundus = ln(killwoundus+1)
(81 real changes made)

->  replace infight = ln(infight+1)
(26 real changes made)

->  replace stanfordaffil = ln(stanfordaffil+1)
(926 real changes made)

->  replace stanfminAQ = ln(stanfminAQ+1)
(926 real changes made)

->  replace stanfminisis = ln(stanfminisis+1)
(906 real changes made)

->  replace stanfordtargetpri = ln(stanfordtargetpri+1)
(833 real changes made)

->  replace stanfordtargetciv = ln(stanfordtargetciv+1)
(926 real changes made)

->  replace stanfordtargetmil = ln(stanfordtargetmil+1)
(790 real changes made)

->  replace stanfordsuccess = ln(stanfordsuccess+1)
(917 real changes made)

->  replace stanfordkillwoundus = ln(stanfordkillwoundus+1)
(234 real changes made)

. 
. * Generating lags of all relevant variables and labelling them
. set more off

. 
. forvalues k = 1/6 {
  2.         foreach X of varlist dronestrike mincivcas maxcivcas mincas maxcas ///
>         dronestrikedum bigfishtarget bigfishdied bigfishinv hvttarget hvtdied pakmil ///
>         peace bigfish*_reward bigfish*_firsthitmiss bigfish*_centraltie ///
>         bigfish*_vanguard bigfish*_integ bigfish*_firstincom civonlyl civonlys {
  3.                 gen L`k'_`X' = L`k'.`X'
  4.                 label var L`k'_`X' "t+`k'"
  5.                 gen F`k'_`X' = F`k'.`X'
  6.                 label var F`k'_`X' "t-`k'"
  7.         }
  8.         
. }
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(429 missing values generated)
(442 missing values generated)
(429 missing values generated)
(442 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(13 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(429 missing values generated)
(455 missing values generated)
(429 missing values generated)
(455 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(26 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(429 missing values generated)
(468 missing values generated)
(429 missing values generated)
(468 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(39 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(429 missing values generated)
(481 missing values generated)
(429 missing values generated)
(481 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(52 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(429 missing values generated)
(494 missing values generated)
(429 missing values generated)
(494 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(65 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(429 missing values generated)
(507 missing values generated)
(429 missing values generated)
(507 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)
(78 missing values generated)

. 
. 
. for var bigfishtarget bigfishdied hvttarget hvtdied civonlys civonlyl maxcivcas civonlyl: label var X "t"

->  label var bigfishtarget `"t"'

->  label var bigfishdied `"t"'

->  label var hvttarget `"t"'

->  label var hvtdied `"t"'

->  label var civonlys `"t"'

->  label var civonlyl `"t"'

->  label var maxcivcas `"t"'

->  label var civonlyl `"t"'

. 
. save "dta/Rigterink_drones_replication_maindataset.dta", replace
file dta/Rigterink_drones_replication_maindataset.dta saved

. 
. 
. /*----------------------------------------------------------
> ---------------------- Main result -------------------------
> ----------------------------------------------------------*/
. 
. use "dta/Rigterink_drones_replication_maindataset.dta", clear

. 
. ******************************
. *** Baseline specification ***
. ******************************
. 
. reghdfe terratt F*bigfishtarget bigfishtarget L*_bigfishtarget F*bigfishdied bigfishdied L*_bigfishdied *dronestrike, absorb(i.groupid i.
> periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.65
Statistics robust to autocorrelation              Prob > F        =     0.0073
 (kernel=Bartlett bw=12)                          R-squared       =     0.8500
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8304
                                                  Within R-sq.    =     0.0585
                                                  Root MSE        =     0.4945

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
F1_bigfishtarget |   .1369648   .1318474     1.04   0.299     -.121676    .3956056
F2_bigfishtarget |  -.1294474   .1312784    -0.99   0.324     -.386972    .1280772
F3_bigfishtarget |  -.1746817    .131616    -1.33   0.185    -.4328685    .0835051
F4_bigfishtarget |   .0894371   .1294805     0.69   0.490    -.1645606    .3434347
F5_bigfishtarget |   .0749033   .1324344     0.57   0.572    -.1848889    .3346956
F6_bigfishtarget |  -.0307556   .1326634    -0.23   0.817    -.2909971    .2294859
   bigfishtarget |  -.0077322     .12674    -0.06   0.951     -.256354    .2408896
L1_bigfishtarget |  -.1018985   .1286824    -0.79   0.429    -.3543305    .1505336
L2_bigfishtarget |  -.0828627   .1294455    -0.64   0.522    -.3367917    .1710664
L3_bigfishtarget |  -.0652601     .12889    -0.51   0.613    -.3180994    .1875792
L4_bigfishtarget |   .0484945   .1295014     0.37   0.708    -.2055441    .3025331
L5_bigfishtarget |   .0850016    .129467     0.66   0.512    -.1689695    .3389726
L6_bigfishtarget |   .1017857   .1331879     0.76   0.445    -.1594847     .363056
  F1_bigfishdied |   .1540285   .1970328     0.78   0.435    -.2324844    .5405413
  F2_bigfishdied |    .157969   .1953984     0.81   0.419    -.2253376    .5412757
  F3_bigfishdied |   .3652321   .1955591     1.87   0.062    -.0183898     .748854
  F4_bigfishdied |   .3350739   .1968945     1.70   0.089    -.0511676    .7213153
  F5_bigfishdied |   .2192382   .1932089     1.13   0.257    -.1597732    .5982497
  F6_bigfishdied |   .1091382   .1895917     0.58   0.565    -.2627777     .481054
     bigfishdied |   .2984742   .1908314     1.56   0.118    -.0758735     .672822
  L1_bigfishdied |    .208603   .1933458     1.08   0.281    -.1706771    .5878831
  L2_bigfishdied |   .3901757    .191277     2.04   0.042      .014954    .7653975
  L3_bigfishdied |   .5325875   .1909341     2.79   0.005     .1580383    .9071367
  L4_bigfishdied |   .1191217   .1938552     0.61   0.539    -.2611577    .4994011
  L5_bigfishdied |   .0951093   .1893617     0.50   0.616    -.2763553     .466574
  L6_bigfishdied |   .4222847    .192145     2.20   0.028     .0453602    .7992092
     dronestrike |   .0123049   .0226974     0.54   0.588    -.0322199    .0568297
  L1_dronestrike |  -.0213606   .0227255    -0.94   0.347    -.0659405    .0232193
  F1_dronestrike |   .0508878   .0229907     2.21   0.027     .0057877    .0959879
  L2_dronestrike |   .0126486   .0227932     0.55   0.579    -.0320641    .0573612
  F2_dronestrike |   .0376396   .0228982     1.64   0.100     -.007279    .0825582
  L3_dronestrike |  -.0042479   .0226063    -0.19   0.851    -.0485939    .0400981
  F3_dronestrike |   .0023332   .0228041     0.10   0.919    -.0424009    .0470673
  L4_dronestrike |  -.0100082   .0227199    -0.44   0.660     -.054577    .0345606
  F4_dronestrike |  -.0199614   .0233996    -0.85   0.394    -.0658636    .0259407
  L5_dronestrike |    .000634    .023735     0.03   0.979    -.0459261    .0471941
  F5_dronestrike |   .0550083   .0243075     2.26   0.024      .007325    .1026916
  L6_dronestrike |   .0100556   .0259275     0.39   0.698    -.0408055    .0609166
  F6_dronestrike |   .0823913   .0261189     3.15   0.002     .0311547    .1336279
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     26.970   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

. 
. * Storing estimates
. estimates store baseline

. 
. * Storing coefficients to interpret size
. matrix coefs = e(b)

. 
. * Calculating Wald statistic for joint significance
. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.44
            Prob > F =    0.0236

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    0.74
            Prob > F =    0.6137

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. * Unlogged estimate of control mean for text
. di exp(e(cmean))
6.9939165

. 
. * p-values F-test for graphs
. testparm L*_bigfishdied

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.44
            Prob > F =    0.0236

. local lagF = round(r(p), 0.0001)

. testparm F*_bigfishdied

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    0.74
            Prob > F =    0.6137

. local leadF = round(r(p), 0.0001)

. testparm L*_bigfishtarget

 ( 1)  L1_bigfishtarget = 0
 ( 2)  L2_bigfishtarget = 0
 ( 3)  L3_bigfishtarget = 0
 ( 4)  L4_bigfishtarget = 0
 ( 5)  L5_bigfishtarget = 0
 ( 6)  L6_bigfishtarget = 0

       F(  6,  1394) =    0.41
            Prob > F =    0.8760

. local lagFtarget = round(r(p), 0.0001)

. testparm F*_bigfishtarget

 ( 1)  F1_bigfishtarget = 0
 ( 2)  F2_bigfishtarget = 0
 ( 3)  F3_bigfishtarget = 0
 ( 4)  F4_bigfishtarget = 0
 ( 5)  F5_bigfishtarget = 0
 ( 6)  F6_bigfishtarget = 0

       F(  6,  1394) =    1.27
            Prob > F =    0.2688

. local leadFtarget = round(r(p), 0.0001)

. 
. ****************
. *** Figure 1 ***
. ****************
. 
. * Generating results with quadratic constraints
. 
. DefineQuadraticConstraintsM
171
186
3 186 1    ConstraintBlock1
3 186 7    ConstraintBlock2

. 
. cnsreg terratt L*_bigfishdied F*bigfishdied L*_bigfishtarget i.period i.groupid F*bigfishtarget bigfishtarget bigfishdied *dronestrike, c
> onstraints(MyBigConstraint)

Constrained linear regression                   Number of obs     =      1,577
                                                F( 176,   1400)   =      44.86
                                                Prob > F          =     0.0000
                                                Root MSE          =     0.4945

 ( 1)  - L3_bigfishdied + 3*L4_bigfishdied - 3*L5_bigfishdied + L6_bigfishdied = 0
 ( 2)  - F1_bigfishdied + 3*F2_bigfishdied - 3*F3_bigfishdied + F4_bigfishdied = 0
 ( 3)  - F2_bigfishdied + 3*F3_bigfishdied - 3*F4_bigfishdied + F5_bigfishdied = 0
 ( 4)  - F3_bigfishdied + 3*F4_bigfishdied - 3*F5_bigfishdied + F6_bigfishdied = 0
----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
  L1_bigfishdied |   .2880907   .1730598     1.66   0.096    -.0513938    .6275752
  L2_bigfishdied |   .2894755   .1064574     2.72   0.007     .0806422    .4983088
  L3_bigfishdied |    .290757   .1180775     2.46   0.014      .059129     .522385
  L4_bigfishdied |    .291935   .1178393     2.48   0.013     .0607743    .5230956
  L5_bigfishdied |   .2930096   .1070529     2.74   0.006     .0830081    .5030111
  L6_bigfishdied |   .2939808   .1764864     1.67   0.096    -.0522256    .6401871
  F1_bigfishdied |   .1012332   .1755147     0.58   0.564    -.2430669    .4455333
  F2_bigfishdied |   .2461876   .1086169     2.27   0.024     .0331182     .459257
  F3_bigfishdied |   .3175647   .1203365     2.64   0.008     .0815055    .5536239
  F4_bigfishdied |   .3153646    .120135     2.63   0.009     .0797007    .5510286
  F5_bigfishdied |   .2395872   .1078266     2.22   0.026     .0280681    .4511063
  F6_bigfishdied |   .0902326   .1744554     0.52   0.605    -.2519896    .4324547
L1_bigfishtarget |  -.1405456   .1261318    -1.11   0.265    -.3879733     .106882
L2_bigfishtarget |  -.0624154   .1135576    -0.55   0.583    -.2851767     .160346
L3_bigfishtarget |   .0536825    .114269     0.47   0.639    -.1704745    .2778394
L4_bigfishtarget |  -.0123325   .1151911    -0.11   0.915    -.2382983    .2136333
L5_bigfishtarget |  -.0081332   .1100238    -0.07   0.941    -.2239625    .2076962
L6_bigfishtarget |   .1541557   .1270202     1.21   0.225    -.0950148    .4033262
                 |
        periodid |
              8  |   .0215926   .2108737     0.10   0.918      -.39207    .4352551
              9  |  -.2166891   .2108732    -1.03   0.304    -.6303505    .1969724
             10  |   .0191335   .2108714     0.09   0.928    -.3945245    .4327916
             11  |  -.2249458   .2108818    -1.07   0.286    -.6386242    .1887325
             12  |  -.0456624    .210884    -0.22   0.829    -.4593451    .3680204
             13  |   .0715973   .2108704     0.34   0.734    -.3420586    .4852532
             14  |  -.0283208   .2108696    -0.13   0.893    -.4419753    .3853337
             15  |   .0450922   .2108714     0.21   0.831    -.3685658    .4587501
             16  |   .0305076   .2108737     0.14   0.885    -.3831548      .44417
             17  |   .0705133   .2108848     0.33   0.738    -.3431709    .4841976
             18  |   .0241306    .210867     0.11   0.909    -.3895187      .43778
             19  |   .2097463   .2112912     0.99   0.321    -.2047352    .6242279
             20  |  -.0183705    .211232    -0.09   0.931    -.4327358    .3959948
             21  |   .1379153   .2112318     0.65   0.514    -.2764496    .5522802
             22  |   .0180565   .2112317     0.09   0.932    -.3963083    .4324212
             23  |   .0686787   .2112278     0.33   0.745    -.3456784    .4830359
             24  |   .0640572   .2112764     0.30   0.762    -.3503953    .4785096
             25  |  -.0226749   .2112803    -0.11   0.915     -.437135    .3917851
             26  |    .096884   .2112098     0.46   0.647    -.3174379    .5112058
             27  |  -.1427931   .2112268    -0.68   0.499    -.5571483    .2715621
             28  |   .2049208   .2115015     0.97   0.333    -.2099732    .6198148
             29  |   .0922969   .2114184     0.44   0.662    -.3224341    .5070279
             30  |   .0021993   .2114083     0.01   0.992     -.412512    .4169105
             31  |   .0109888   .2114862     0.05   0.959    -.4038753    .4258528
             32  |  -.0667865   .2111162    -0.32   0.752    -.4809247    .3473517
             33  |   .1146146   .2111857     0.54   0.587      -.29966    .5288892
             34  |  -.1170658   .2111986    -0.55   0.579    -.5313656     .297234
             35  |  -.0062921   .2111566    -0.03   0.976    -.4205095    .4079253
             36  |  -.0610412   .2111374    -0.29   0.773     -.475221    .3531387
             37  |   .0592009   .2111402     0.28   0.779    -.3549844    .4733862
             38  |   .0694731   .2111259     0.33   0.742    -.3446841    .4836304
             39  |   .1736199   .2111236     0.82   0.411    -.2405327    .5877725
             40  |   .1820342    .211211     0.86   0.389    -.2322899    .5963583
             41  |   .3295868    .210884     1.56   0.118    -.0840959    .7432696
             42  |   .3209279   .2109187     1.52   0.128    -.0928227    .7346786
             43  |   .1411584    .210895     0.67   0.503    -.2725458    .5548627
             44  |   .2639435   .2109451     1.25   0.211    -.1498591    .6777461
             45  |   .2954196   .2109497     1.40   0.162     -.118392    .7092311
             46  |   .1152909   .2109483     0.55   0.585    -.2985179    .5290997
             47  |    .424751   .2109797     2.01   0.044     .0108805    .8386215
             48  |   .1472671   .2109609     0.70   0.485    -.2665665    .5611007
             49  |   .1736954   .2109633     0.82   0.410    -.2401429    .5875336
             50  |   .0195444   .2112401     0.09   0.926    -.3948368    .4339255
             51  |   .2407791   .2120818     1.14   0.256    -.1752532    .6568115
             52  |   .2334996   .2127247     1.10   0.273    -.1837939    .6507931
             53  |   .2074096   .2126199     0.98   0.329    -.2096784    .6244976
             54  |   .1677281   .2080744     0.81   0.420    -.2404431    .5758994
             55  |   .1685898   .2082434     0.81   0.418     -.239913    .5770926
             56  |   .2803985   .2079775     1.35   0.178    -.1275826    .6883796
             57  |   .2013183   .2080362     0.97   0.333     -.206778    .6094147
             58  |   .2002854    .208303     0.96   0.336    -.2083343    .6089051
             59  |   .2213194   .2081703     1.06   0.288    -.1870399    .6296787
             60  |    .160968   .2091776     0.77   0.442    -.2493673    .5713034
             61  |   .0178429   .2096101     0.09   0.932    -.3933407    .4290266
             62  |   .0203961   .2096189     0.10   0.923    -.3908048    .4315971
             63  |   .0582527     .20977     0.28   0.781    -.3532448    .4697501
             64  |   .1288982   .2095836     0.62   0.539    -.2822335    .5400299
             65  |   .2170152   .2092231     1.04   0.300    -.1934094    .6274398
             66  |   .1723056   .2094668     0.82   0.411     -.238597    .5832083
             67  |   .1932146   .2100356     0.92   0.358    -.2188038     .605233
             68  |   .1632569   .2105087     0.78   0.438    -.2496896    .5762033
             69  |   -.012853   .2103617    -0.06   0.951    -.4255111    .3998052
             70  |   .0262456    .210051     0.12   0.901    -.3858029    .4382942
             71  |  -.0283165   .2103528    -0.13   0.893    -.4409572    .3843242
             72  |   .1240836   .2105069     0.59   0.556    -.2888594    .5370266
             73  |   .1037331   .2099662     0.49   0.621    -.3081492    .5156155
             74  |   .0203384   .2096491     0.10   0.923    -.3909218    .4315986
             75  |   .0164046   .2103802     0.08   0.938    -.3962899     .429099
             76  |  -.0068569   .2103857    -0.03   0.974    -.4195621    .4058483
             77  |   .1616642   .2104026     0.77   0.442    -.2510741    .5744024
             78  |    .057873    .210818     0.27   0.784    -.3556803    .4714264
             79  |   .0828864   .2105656     0.39   0.694    -.3301716    .4959445
             80  |    .264448   .2099763     1.26   0.208    -.1474541      .67635
             81  |   .3389841    .209636     1.62   0.106    -.0722503    .7502186
             82  |   .1215286   .2093267     0.58   0.562    -.2890993    .5321564
             83  |   .2005679   .2095467     0.96   0.339    -.2104915    .6116274
             84  |   .1115173   .2105083     0.53   0.596    -.3014284     .524463
             85  |    .077917   .2102414     0.37   0.711    -.3345052    .4903392
             86  |  -.0243833   .2108671    -0.12   0.908    -.4380329    .3892663
             87  |   .0475036   .2108159     0.23   0.822    -.3660456    .4610527
             88  |   .0053866   .2106399     0.03   0.980    -.4078173    .4185905
             89  |   .1130183   .2097085     0.54   0.590    -.2983584    .5243951
             90  |   .3142972   .2098471     1.50   0.134    -.0973516    .7259459
             91  |   .0443041   .2092841     0.21   0.832    -.3662401    .4548483
             92  |   .0339248   .2095065     0.16   0.871    -.3770557    .4449054
             93  |    .259878   .2094623     1.24   0.215    -.1510158    .6707718
             94  |   .1483928   .2094681     0.71   0.479    -.2625125     .559298
             95  |   .2866032   .2096521     1.37   0.172    -.1246629    .6978692
             96  |   .4098458   .2100073     1.95   0.051    -.0021171    .8218087
             97  |   .2392916   .2089131     1.15   0.252    -.1705247     .649108
             98  |   .3838369    .209298     1.83   0.067    -.0267346    .7944083
             99  |   .5561268   .2046022     2.72   0.007     .1547668    .9574868
            100  |   .5231529   .2046868     2.56   0.011      .121627    .9246788
            101  |   .4576824   .2044497     2.24   0.025     .0566217    .8587432
            102  |   .5514161   .2042995     2.70   0.007       .15065    .9521822
            103  |   .4041842   .2047153     1.97   0.049     .0026024    .8057661
            104  |   .4182253   .2043079     2.05   0.041     .0174427    .8190079
            105  |   .5033292   .2043057     2.46   0.014      .102551    .9041075
            106  |   .4281047   .2042731     2.10   0.036     .0273904    .8288191
            107  |   .2623331   .2045497     1.28   0.200    -.1389238      .66359
            108  |   .3767829   .2045661     1.84   0.066    -.0245062    .7780721
            109  |   .4605199   .2044372     2.25   0.024     .0594836    .8615561
            110  |   .3772676   .2043801     1.85   0.065    -.0236566    .7781918
            111  |   .4523462   .2041944     2.22   0.027     .0517863    .8529061
            112  |   .3695314    .204198     1.81   0.071    -.0310356    .7700984
            113  |    .284669   .2050442     1.39   0.165    -.1175579    .6868959
            114  |   .2111725   .2049575     1.03   0.303    -.1908845    .6132295
            115  |   .1697243   .2048724     0.83   0.408    -.2321657    .5716143
            116  |   .3275791   .2042652     1.60   0.109    -.0731197    .7282778
            117  |   .4850407   .2043445     2.37   0.018     .0841863    .8858952
            118  |   .3188912   .2045324     1.56   0.119    -.0823317    .7201142
            119  |   .2070519   .2046558     1.01   0.312    -.1944131     .608517
            120  |   .2406895   .2042734     1.18   0.239    -.1600255    .6414046
            121  |   .3149144    .204201     1.54   0.123    -.0856584    .7154873
            122  |    .368349   .2040773     1.80   0.071    -.0319813    .7686794
            123  |   .3265786   .2040548     1.60   0.110    -.0737076    .7268648
            124  |   .6134954    .204347     3.00   0.003      .212636    1.014355
            125  |   .3834105   .2050239     1.87   0.062    -.0187766    .7855976
            126  |   .4803989   .2039685     2.36   0.019     .0802821    .8805158
            127  |   .5010043   .2042189     2.45   0.014     .1003964    .9016123
            128  |   .4535494   .2042799     2.22   0.027     .0528218    .8542771
            129  |   .4895422   .2044651     2.39   0.017     .0884512    .8906332
            130  |   .4141862    .204491     2.03   0.043     .0130445     .815328
            131  |   .4194096   .2043824     2.05   0.040     .0184808    .8203384
            132  |   .5347316   .2042865     2.62   0.009     .1339909    .9354723
            133  |   .3609188   .2044094     1.77   0.078     -.040063    .7619006
            134  |   .4803483   .2041282     2.35   0.019     .0799182    .8807784
            135  |   .5627685   .2042529     2.76   0.006     .1620937    .9634433
            136  |   .4819072   .2043296     2.36   0.018     .0810821    .8827323
            137  |   .5863625   .2039695     2.87   0.004     .1862438    .9864813
            138  |   .5648803   .2037318     2.77   0.006     .1652278    .9645327
                 |
         groupid |
              2  |  -1.882922   .0747881   -25.18   0.000    -2.029631   -1.736213
              3  |  -1.796385   .0655018   -27.42   0.000    -1.924878   -1.667893
              4  |  -1.870635   .0753535   -24.82   0.000    -2.018453   -1.722817
              5  |   1.143583   .0653006    17.51   0.000     1.015486    1.271681
              6  |  -1.490963   .0770911   -19.34   0.000     -1.64219   -1.339737
              7  |  -2.001118    .102148   -19.59   0.000    -2.201498   -1.800738
              8  |  -1.913084   .0745092   -25.68   0.000    -2.059246   -1.766922
              9  |   .1522116   .0726608     2.09   0.036     .0096758    .2947473
             10  |  -1.882216   .0766439   -24.56   0.000    -2.032566   -1.731867
             11  |  -1.904722   .0768665   -24.78   0.000    -2.055508   -1.753936
             12  |  -1.811849   .0742483   -24.40   0.000    -1.957499   -1.666199
             13  |  -1.906902   .0768665   -24.81   0.000    -2.057687   -1.756116
                 |
F1_bigfishtarget |   .1490467   .1299671     1.15   0.252    -.1059045    .4039979
F2_bigfishtarget |  -.1755384   .1133838    -1.55   0.122    -.3979589     .046882
F3_bigfishtarget |  -.1394779   .1163654    -1.20   0.231    -.3677472    .0887914
F4_bigfishtarget |   .1095333   .1154988     0.95   0.343     -.117036    .3361026
F5_bigfishtarget |   .0533469   .1143514     0.47   0.641    -.1709717    .2776655
F6_bigfishtarget |  -.0323976   .1273871    -0.25   0.799    -.2822877    .2174924
   bigfishtarget |  -.0092903   .1292643    -0.07   0.943     -.262863    .2442823
     bigfishdied |   .3411975   .1859916     1.83   0.067    -.0236547    .7060498
     dronestrike |   .0084833   .0257213     0.33   0.742    -.0419731    .0589397
  L1_dronestrike |  -.0205602   .0256353    -0.80   0.423    -.0708479    .0297276
  F1_dronestrike |   .0493216   .0260563     1.89   0.059    -.0017921    .1004352
  L2_dronestrike |   .0138555   .0258404     0.54   0.592    -.0368346    .0645456
  F2_dronestrike |    .043042   .0259994     1.66   0.098    -.0079601     .094044
  L3_dronestrike |  -.0041041   .0258698    -0.16   0.874    -.0548519    .0466436
  F3_dronestrike |   .0032866   .0261685     0.13   0.900     -.048047    .0546202
  L4_dronestrike |  -.0078854   .0258216    -0.31   0.760    -.0585386    .0427677
  F4_dronestrike |  -.0253712   .0262385    -0.97   0.334    -.0768422    .0260998
  L5_dronestrike |   .0004377   .0258105     0.02   0.986    -.0501937    .0510692
  F5_dronestrike |   .0537455   .0261553     2.05   0.040     .0024377    .1050533
  L6_dronestrike |   .0067669   .0257717     0.26   0.793    -.0437884    .0573223
  F6_dronestrike |   .0862826   .0260169     3.32   0.001     .0352463    .1373189
           _cons |   1.709308   .1589823    10.75   0.000     1.397439    2.021177
----------------------------------------------------------------------------------

. estimates store qconstrained

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0
       Constraint 2 dropped
       Constraint 4 dropped
       Constraint 5 dropped

       F(  3,  1400) =    4.45
            Prob > F =    0.0040

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0
       Constraint 2 dropped
       Constraint 4 dropped
       Constraint 5 dropped

       F(  3,  1400) =    2.85
            Prob > F =    0.0365

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. * Plotting results
. 
. coefplot (qconstrained, lcolor(gray) keep(L*bigfishdied) recast(line) ciopts(color(dimgray) recast(rarea))) /// 
> (baseline,  mcolor(black) keep(*bigfishdied bigfishdied) ciopts(lcolor(black) recast(rcap))), ///
> vert order(F9_* F8_* F7_* F6_* F5_* F4_* F3_* F2_* F1_* bigfish* L1_* L2_* L3_* L4_* L5_* L6_* L7_* L8_* L9_*) ///
> yline(0, lcolor(black)) xline(7, lcolor(red)) nooffsets ///
> plotregion(style(none)) graphregion(ifcolor(white) fcolor(white) color(white) icolor(white)) ///
> ytitle("Coefficient estimate on hit") ///
> legend(off) ///
> groups(L*_bigfishdied = "Prob > F lags: `: di %9.4f `lagF''" F*_bigfishdied = "Prob > F leads: `: di %9.4f `leadF''", nogap) ///
> saving(graphs/coefhit, replace)
(file graphs/coefhit.gph saved)

. 
. coefplot /// 
> (baseline,  mcolor(black) keep(*bigfishtarget bigfishtarget) ciopts(lcolor(black) recast(rcap))), ///
> vert order(F9_* F8_* F7_* F6_* F5_* F4_* F3_* F2_* F1_* bigfish* L1_* L2_* L3_* L4_* L5_* L6_* L7_* L8_* L9_*) ///
> yline(0, lcolor(black)) xline(7, lcolor(red)) nooffsets ///
> plotregion(style(none)) graphregion(ifcolor(white) fcolor(white) color(white) icolor(white)) ///
> ytitle("Coefficient estimate on targeted") ///
> yscale(range(-0.5 1)) ytick(-0.5(0.5)1) ylabel(-0.5(0.5)1) ///
> legend(off) ///
> groups(L*_bigfishtarget = "Prob > F lags: `: di %9.4f `lagFtarget''" F*_bigfishtarget = "Prob > F leads: `: di %9.4f `leadFtarget''", nog
> ap) ///
> saving(graphs/coefattempt, replace)
(file graphs/coefattempt.gph saved)

. 
. * Combining into single graph
. 
. graph combine graphs/coefhit.gph graphs/coefattempt.gph, rows(1) ///
> graphregion(ifcolor(white) fcolor(white) color(white) icolor(white)) ///
> title("Terrorist attacks", color(black)) ///
> xsize(7)

. 
. graph export graphs/Rigterink_Fig1.pdf, replace
(file graphs/Rigterink_Fig1.pdf written in PDF format)

. 
. * Retrieving coefficient sizes from matrix
. clear

. svmat coefs
number of observations will be reset to 1
Press any key to continue, or Break to abort
number of observations (_N) was 0, now 1

. 
. * Keeping only lags of drone hit
. keep coefs21-coefs26

. gen id=_n

. reshape long coefs, i(id) j(time)
(note: j = 21 22 23 24 25 26)

Data                               wide   ->   long
-----------------------------------------------------------------------------
Number of obs.                        1   ->       6
Number of variables                   7   ->       3
j variable (6 values)                     ->   time
xij variables:
            coefs21 coefs22 ... coefs26   ->   coefs
-----------------------------------------------------------------------------

. replace time = time-20
(6 real changes made)

. drop id

. 
. * Taking exponent of effect size
. gen effecthit = exp(coefs)

. 
. * Unlogged estimates of impact of 'hit', average and for each lag
. sum effecthit

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   effecthit |          6     1.36071    .2439759   1.099779   1.703334

. list time effecthit

     +-----------------+
     | time   effect~t |
     |-----------------|
  1. |    1   1.231956 |
  2. |    2    1.47724 |
  3. |    3   1.703334 |
  4. |    4   1.126507 |
  5. |    5   1.099779 |
     |-----------------|
  6. |    6   1.525443 |
     +-----------------+

. 
. 
. /*----------------------------------------------------------
> ----------------------- Robustness -------------------------
> ----------------------------------------------------------*/
. 
. ***************
. *** Table 4 ***
. ***************
. 
. use "dta/Rigterink_drones_replication_daystofirstattack.dta", clear

. 
. * Regressions
. 
. xtreg distany bigfishdied, fe vce(cluster groups)

Fixed-effects (within) regression               Number of obs     =         44
Group variable: groups                          Number of groups  =          5

R-sq:                                           Obs per group:
     within  = 0.0031                                         min =          2
     between = 0.3879                                         avg =        8.8
     overall = 0.0089                                         max =         17

                                                F(1,4)            =       0.13
corr(u_i, Xb)  = 0.0768                         Prob > F          =     0.7348

                                 (Std. Err. adjusted for 5 clusters in groups)
------------------------------------------------------------------------------
             |               Robust
     distany |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 bigfishdied |  -13.14723   36.18719    -0.36   0.735     -113.619    87.32452
       _cons |   61.77746   12.33654     5.01   0.007     27.52573     96.0292
-------------+----------------------------------------------------------------
     sigma_u |  147.16858
     sigma_e |  117.53369
         rho |  .61056968   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. estimates store m1

. outreg2 m1 using tables/Rigterink_Tab4, replace label ctitle("OLS", "First", "terrorist", "attack") addtext("Group FE", "YES", "Stratifie
> d on group", "NO") ///
> nonotes addnote("Clustered (group) standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
dir : seeout

. 
. stset distany, fail(unclaim)

     failure event:  unclaim != 0 & unclaim < .
obs. time interval:  (0, distany]
 exit on or before:  failure

------------------------------------------------------------------------------
         44  total observations
          0  exclusions
------------------------------------------------------------------------------
         44  observations remaining, representing
         39  failures in single-record/single-failure data
       2521  total analysis time at risk and under observation
                                                at risk from t =         0
                                     earliest observed entry t =         0
                                          last observed exit t =       731

. estimates store m2

. stcox bigfishdied, vce(cluster groups) efron nohr strata(groups)

         failure _d:  unclaim
   analysis time _t:  distany

Iteration 0:   log pseudolikelihood = -65.275546
Iteration 1:   log pseudolikelihood = -65.265791
Iteration 2:   log pseudolikelihood =  -65.26579
Refining estimates:
Iteration 0:   log pseudolikelihood =  -65.26579

Stratified Cox regr. -- Efron method for ties

No. of subjects      =           44             Number of obs    =          44
No. of failures      =           39
Time at risk         =         2521
                                                Wald chi2(1)     =        0.03
Log pseudolikelihood =    -65.26579             Prob > chi2      =      0.8582

                                 (Std. Err. adjusted for 5 clusters in groups)
------------------------------------------------------------------------------
             |               Robust
          _t |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 bigfishdied |  -.0505483   .2828421    -0.18   0.858    -.6049087    .5038121
------------------------------------------------------------------------------
                                                          Stratified by groups

. outreg2 m2 using tables/Rigterink_Tab4, append label ctitle("cox", "First", "terrorist", "attack") addtext("Group FE", "NO", "Stratified 
> on group", "YES") ///
> nonotes addnote("Clustered (group) standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
dir : seeout

. 
. xtreg distclaim bigfishdied, fe vce(cluster groups)

Fixed-effects (within) regression               Number of obs     =         44
Group variable: groups                          Number of groups  =          5

R-sq:                                           Obs per group:
     within  = 0.0285                                         min =          2
     between = 0.2246                                         avg =        8.8
     overall = 0.0185                                         max =         17

                                                F(1,4)            =       1.64
corr(u_i, Xb)  = 0.0244                         Prob > F          =     0.2696

                                 (Std. Err. adjusted for 5 clusters in groups)
------------------------------------------------------------------------------
             |               Robust
   distclaim |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 bigfishdied |  -41.55511   32.45316    -1.28   0.270    -131.6595    48.54929
       _cons |   99.14379   11.06358     8.96   0.001     68.42638    129.8612
-------------+----------------------------------------------------------------
     sigma_u |  154.43177
     sigma_e |  120.03632
         rho |  .62337918   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. estimates store m3

. outreg2 m3 using tables/Rigterink_Tab4, append label ctitle("OLS", "First", "claimed", "attack") addtext("Group FE", "YES", "Stratified o
> n group", "NO") ///
> nonotes addnote("Clustered (group) standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
dir : seeout

. 
. stset distclaim, fail(claim)

     failure event:  claim != 0 & claim < .
obs. time interval:  (0, distclaim]
 exit on or before:  failure

------------------------------------------------------------------------------
         44  total observations
          0  exclusions
------------------------------------------------------------------------------
         44  observations remaining, representing
         44  failures in single-record/single-failure data
       3739  total analysis time at risk and under observation
                                                at risk from t =         0
                                     earliest observed entry t =         0
                                          last observed exit t =       731

. stcox bigfishdied, vce(cluster groups) efron nohr strata(groups)

         failure _d:  claim
   analysis time _t:  distclaim

Iteration 0:   log pseudolikelihood = -70.063038
Iteration 1:   log pseudolikelihood = -69.562313
Iteration 2:   log pseudolikelihood = -69.560671
Iteration 3:   log pseudolikelihood = -69.560671
Refining estimates:
Iteration 0:   log pseudolikelihood = -69.560671

Stratified Cox regr. -- Efron method for ties

No. of subjects      =           44             Number of obs    =          44
No. of failures      =           44
Time at risk         =         3739
                                                Wald chi2(1)     =        1.28
Log pseudolikelihood =   -69.560671             Prob > chi2      =      0.2582

                                 (Std. Err. adjusted for 5 clusters in groups)
------------------------------------------------------------------------------
             |               Robust
          _t |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 bigfishdied |   .3544342    .313507     1.13   0.258    -.2600283    .9688966
------------------------------------------------------------------------------
                                                          Stratified by groups

. estimates store m4

. outreg2 m4 using tables/Rigterink_Tab4, append label ctitle("cox", "First", "claimed", "attack") addtext("Group FE", "NO", "Stratified on
>  group", "YES") ///
> nonotes addnote("Clustered (group) standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
dir : seeout

. 
. xtreg distunclaim bigfishdied, fe vce(cluster groups)

Fixed-effects (within) regression               Number of obs     =         39
Group variable: groups                          Number of groups  =          4

R-sq:                                           Obs per group:
     within  = 0.0580                                         min =          2
     between = 0.0095                                         avg =        9.8
     overall = 0.0441                                         max =         17

                                                F(1,3)            =       0.55
corr(u_i, Xb)  = 0.0554                         Prob > F          =     0.5103

                                 (Std. Err. adjusted for 4 clusters in groups)
------------------------------------------------------------------------------
             |               Robust
 distunclaim |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 bigfishdied |   22.10178   29.66794     0.74   0.510    -72.31486    116.5184
       _cons |   20.39936   10.65003     1.92   0.151    -13.49379    54.29251
-------------+----------------------------------------------------------------
     sigma_u |   59.42318
     sigma_e |  44.556388
         rho |   .6401137   (fraction of variance due to u_i)
------------------------------------------------------------------------------

. estimates store m5

. outreg2 m5 using tables/Rigterink_Tab4, append label ctitle("OLS", "First", "unclaimed", "attack") addtext("Group FE", "YES", "Stratified
>  on group", "NO") ///
> nonotes addnote("Clustered (group) standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
dir : seeout

. 
. stset distunclaim, fail(unclaim)

     failure event:  unclaim != 0 & unclaim < .
obs. time interval:  (0, distunclaim]
 exit on or before:  failure

------------------------------------------------------------------------------
         44  total observations
          5  event time missing (distunclaim>=.)                PROBABLE ERROR
------------------------------------------------------------------------------
         39  observations remaining, representing
         39  failures in single-record/single-failure data
       1105  total analysis time at risk and under observation
                                                at risk from t =         0
                                     earliest observed entry t =         0
                                          last observed exit t =       239

. stcox bigfishdied, vce(cluster groups) efron nohr strata(groups)

         failure _d:  unclaim
   analysis time _t:  distunclaim

Iteration 0:   log pseudolikelihood = -65.275546
Iteration 1:   log pseudolikelihood = -64.935303
Iteration 2:   log pseudolikelihood = -64.935124
Refining estimates:
Iteration 0:   log pseudolikelihood = -64.935124

Stratified Cox regr. -- Efron method for ties

No. of subjects      =           39             Number of obs    =          39
No. of failures      =           39
Time at risk         =         1105
                                                Wald chi2(1)     =        1.64
Log pseudolikelihood =   -64.935124             Prob > chi2      =      0.2000

                                 (Std. Err. adjusted for 4 clusters in groups)
------------------------------------------------------------------------------
             |               Robust
          _t |      Coef.   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
 bigfishdied |   .3182028   .2482973     1.28   0.200    -.1684509    .8048565
------------------------------------------------------------------------------
                                                          Stratified by groups

. estimates store m6

. outreg2 m6 using tables/Rigterink_Tab4, append tex(frag) label ctitle("cox", "First", "unclaimed", "attack") addtext("Group FE", "NO", "S
> tratified on group", "YES") ///
> nonotes addnote("Clustered (group) standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab4.tex
dir : seeout

. 
. 
. ****************
. *** Figure 2 ***
. ****************
. 
. use "dta/Rigterink_drones_replication_maindataset.dta", clear

. 
. * Extending dataset to 15 leads and lags
. 
. forvalues k = 7/15 {
  2.         foreach X of varlist bigfishtarget bigfishdied dronestrike {
  3.                 gen L`k'_`X' = L`k'.`X'
  4.                 label var L`k'_`X' "t+`k'"
  5.                 gen F`k'_`X' = F`k'.`X'
  6.                 label var F`k'_`X' "t-`k'"
  7.         }
  8.         
. }
(91 missing values generated)
(91 missing values generated)
(91 missing values generated)
(91 missing values generated)
(91 missing values generated)
(91 missing values generated)
(104 missing values generated)
(104 missing values generated)
(104 missing values generated)
(104 missing values generated)
(104 missing values generated)
(104 missing values generated)
(117 missing values generated)
(117 missing values generated)
(117 missing values generated)
(117 missing values generated)
(117 missing values generated)
(117 missing values generated)
(130 missing values generated)
(130 missing values generated)
(130 missing values generated)
(130 missing values generated)
(130 missing values generated)
(130 missing values generated)
(143 missing values generated)
(143 missing values generated)
(143 missing values generated)
(143 missing values generated)
(143 missing values generated)
(143 missing values generated)
(156 missing values generated)
(156 missing values generated)
(156 missing values generated)
(156 missing values generated)
(156 missing values generated)
(156 missing values generated)
(169 missing values generated)
(169 missing values generated)
(169 missing values generated)
(169 missing values generated)
(169 missing values generated)
(169 missing values generated)
(182 missing values generated)
(182 missing values generated)
(182 missing values generated)
(182 missing values generated)
(182 missing values generated)
(182 missing values generated)
(195 missing values generated)
(195 missing values generated)
(195 missing values generated)
(195 missing values generated)
(195 missing values generated)
(195 missing values generated)

. 
. * Regression with 15 leads and lags
. 
. reghdfe terratt F*bigfishtarget bigfishtarget L*_bigfishtarget F*bigfishdied bigfishdied L*_bigfishdied *dronestrike, absorb(i.groupid i.
> periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,343
Absorbing 2 HDFE groups                           F(  93,   1124) =       1.60
Statistics robust to autocorrelation              Prob > F        =     0.0004
 (kernel=Bartlett bw=12)                          R-squared       =     0.8727
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8480
                                                  Within R-sq.    =     0.1299
                                                  Root MSE        =     0.4672

-----------------------------------------------------------------------------------
          terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------+----------------------------------------------------------------
 F1_bigfishtarget |   .2841953   .1429014     1.99   0.047     .0038119    .5645788
 F2_bigfishtarget |  -.1383038   .1446831    -0.96   0.339    -.4221831    .1455756
 F3_bigfishtarget |  -.0289105   .1422921    -0.20   0.839    -.3080985    .2502775
 F4_bigfishtarget |   .1239239   .1414296     0.88   0.381    -.1535719    .4014196
 F5_bigfishtarget |   .0510962   .1399599     0.37   0.715    -.2235158    .3257083
 F6_bigfishtarget |  -.0519668    .139458    -0.37   0.709     -.325594    .2216605
 F7_bigfishtarget |   .1255705   .1403633     0.89   0.371    -.1498329     .400974
 F8_bigfishtarget |    .246297   .1456719     1.69   0.091    -.0395223    .5321164
 F9_bigfishtarget |  -.3987822    .144806    -2.75   0.006    -.6829026   -.1146617
F10_bigfishtarget |  -.2766595   .1480352    -1.87   0.062     -.567116     .013797
F11_bigfishtarget |   .1002458   .1510105     0.66   0.507    -.1960483      .39654
F12_bigfishtarget |   .1034845   .1506481     0.69   0.492    -.1920987    .3990677
F13_bigfishtarget |  -.3363492   .1479727    -2.27   0.023    -.6266831   -.0460153
F14_bigfishtarget |  -.0516787   .1502042    -0.34   0.731    -.3463908    .2430334
F15_bigfishtarget |   .0581246   .1534791     0.38   0.705    -.2430132    .3592624
    bigfishtarget |  -.0138364   .1413498    -0.10   0.922    -.2911756    .2635029
 L1_bigfishtarget |  -.0801379   .1405301    -0.57   0.569    -.3558688    .1955929
 L2_bigfishtarget |  -.2806317   .1388605    -2.02   0.044    -.5530868   -.0081767
 L3_bigfishtarget |   -.045406   .1369239    -0.33   0.740    -.3140612    .2232492
 L4_bigfishtarget |   .0630095   .1368432     0.46   0.645    -.2054874    .3315064
 L5_bigfishtarget |   -.075666   .1371209    -0.55   0.581    -.3447077    .1933758
 L6_bigfishtarget |  -.0111353   .1386201    -0.08   0.936    -.2831186    .2608479
 L7_bigfishtarget |   .0872736   .1381943     0.63   0.528    -.1838742    .3584214
 L8_bigfishtarget |   .1511178   .1378902     1.10   0.273    -.1194334     .421669
 L9_bigfishtarget |   .1448658   .1334257     1.09   0.278    -.1169256    .4066572
L10_bigfishtarget |   .3528125   .1346322     2.62   0.009     .0886538    .6169713
L11_bigfishtarget |    .192832   .1362318     1.42   0.157    -.0744653    .4601293
L12_bigfishtarget |   .2385093    .135744     1.76   0.079    -.0278309    .5048495
L13_bigfishtarget |   .3662594   .1360372     2.69   0.007      .099344    .6331749
L14_bigfishtarget |   .2373417   .1345703     1.76   0.078    -.0266956     .501379
L15_bigfishtarget |    .093494   .1370195     0.68   0.495    -.1753487    .3623367
   F1_bigfishdied |  -.1751214   .2078428    -0.84   0.400    -.5829249    .2326821
   F2_bigfishdied |   .1496925    .208979     0.72   0.474    -.2603403    .5597254
   F3_bigfishdied |    .154235   .2113908     0.73   0.466      -.26053    .5690001
   F4_bigfishdied |   .3321734   .2062111     1.61   0.107    -.0724286    .7367754
   F5_bigfishdied |    .223475    .205583     1.09   0.277    -.1798947    .6268446
   F6_bigfishdied |    .092964   .2088181     0.45   0.656    -.3167532    .5026812
   F7_bigfishdied |   .0372825   .2092507     0.18   0.859    -.3732835    .4478485
   F8_bigfishdied |  -.4205501   .2114799    -1.99   0.047      -.83549   -.0056102
   F9_bigfishdied |     .58576   .2104377     2.78   0.005     .1728651     .998655
  F10_bigfishdied |   .5306445   .2122724     2.50   0.013     .1141498    .9471393
  F11_bigfishdied |   .1827488   .2109634     0.87   0.387    -.2311776    .5966751
  F12_bigfishdied |    .048307    .212469     0.23   0.820    -.3685734    .4651874
  F13_bigfishdied |   .2931577   .2129648     1.38   0.169    -.1246955     .711011
  F14_bigfishdied |   .3615849   .2134508     1.69   0.091    -.0572221    .7803918
  F15_bigfishdied |   .2241215   .2148621     1.04   0.297    -.1974544    .6456974
      bigfishdied |   .0980838   .2131372     0.46   0.645    -.3201078    .5162754
   L1_bigfishdied |   .0652481   .2100201     0.31   0.756    -.3468274    .4773236
   L2_bigfishdied |   .5168719   .2083171     2.48   0.013     .1081378     .925606
   L3_bigfishdied |   .4980349   .2082048     2.39   0.017      .089521    .9065488
   L4_bigfishdied |   .0777593   .2086791     0.37   0.709    -.3316852    .4872037
   L5_bigfishdied |   .3008084   .2101849     1.43   0.153    -.1115905    .7132073
   L6_bigfishdied |   .5680899    .213253     2.66   0.008     .1496713    .9865086
   L7_bigfishdied |   .4600817   .2119941     2.17   0.030      .044133    .8760304
   L8_bigfishdied |   .0906601   .2106308     0.43   0.667    -.3226137    .5039338
   L9_bigfishdied |  -.0530442    .205285    -0.26   0.796    -.4558291    .3497407
  L10_bigfishdied |  -.2156201   .2076088    -1.04   0.299    -.6229645    .1917243
  L11_bigfishdied |  -.0911517   .2140212    -0.43   0.670    -.5110778    .3287744
  L12_bigfishdied |  -.2169849   .2124985    -1.02   0.307    -.6339233    .1999536
  L13_bigfishdied |  -.2013136   .2303421    -0.87   0.382    -.6532625    .2506354
  L14_bigfishdied |   .0338974   .2211366     0.15   0.878    -.3999895    .4677843
  L15_bigfishdied |   .1277652    .224047     0.57   0.569    -.3118322    .5673627
      dronestrike |  -.0099379   .0254432    -0.39   0.696    -.0598594    .0399835
   L1_dronestrike |  -.0543108   .0254759    -2.13   0.033    -.1042965   -.0043251
   F1_dronestrike |   .0540886   .0253228     2.14   0.033     .0044033    .1037739
   L2_dronestrike |  -.0001969   .0253318    -0.01   0.994    -.0498998     .049506
   F2_dronestrike |   .0345388    .024762     1.39   0.163    -.0140462    .0831239
   L3_dronestrike |  -.0085416   .0253465    -0.34   0.736    -.0582734    .0411902
   F3_dronestrike |  -.0006994   .0244383    -0.03   0.977    -.0486492    .0472505
   L4_dronestrike |  -.0211276   .0250898    -0.84   0.400    -.0703558    .0281006
   F4_dronestrike |  -.0112947   .0242731    -0.47   0.642    -.0589204    .0363311
   L5_dronestrike |  -.0106451   .0249544    -0.43   0.670    -.0596075    .0383173
   F5_dronestrike |   .0511432    .025339     2.02   0.044     .0014261    .1008602
   L6_dronestrike |  -.0366716   .0251012    -1.46   0.144    -.0859221    .0125788
   F6_dronestrike |    .061609   .0251403     2.45   0.014     .0122818    .1109362
   L7_dronestrike |  -.0079276    .025208    -0.31   0.753    -.0573877    .0415324
   F7_dronestrike |   .0200545   .0252061     0.80   0.426    -.0294019    .0695108
   L8_dronestrike |    .067565   .0252533     2.68   0.008      .018016    .1171139
   F8_dronestrike |   .0017068   .0251618     0.07   0.946    -.0476625    .0510761
   L9_dronestrike |  -.0164944    .025592    -0.64   0.519    -.0667079    .0337191
   F9_dronestrike |   .0263682   .0252308     1.05   0.296    -.0231367     .075873
  L10_dronestrike |  -.0218775   .0260711    -0.84   0.402     -.073031     .029276
  F10_dronestrike |  -.0315193   .0253036    -1.25   0.213    -.0811669    .0181284
  L11_dronestrike |  -.0037064   .0257562    -0.14   0.886    -.0542421    .0468294
  F11_dronestrike |  -.0068255   .0253957    -0.27   0.788    -.0566537    .0430027
  L12_dronestrike |  -.0141721   .0256965    -0.55   0.581    -.0645907    .0362464
  F12_dronestrike |  -.0233423   .0249552    -0.94   0.350    -.0723063    .0256217
  L13_dronestrike |  -.0100572   .0259234    -0.39   0.698     -.060921    .0408065
  F13_dronestrike |   .0019543   .0258246     0.08   0.940    -.0487156    .0526242
  L14_dronestrike |   .0084602   .0269511     0.31   0.754    -.0444198    .0613402
  F14_dronestrike |  -.0337474    .026212    -1.29   0.198    -.0851773    .0176825
  L15_dronestrike |   .0656839   .0287758     2.28   0.023     .0092236    .1221441
  F15_dronestrike |  -.0451544   .0286539    -1.58   0.115    -.1013756    .0110667
------------------+----------------------------------------------------------------
         Absorbed |      F(125, 1124) =     24.097   0.000             (Joint test)
-----------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------------------+
      Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
------------------+-------------------------------------------------|
          groupid |           13              13              0     | 
         periodid |          113             114              1     | 
--------------------------------------------------------------------+

. estimates store coefficients15

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0
 ( 7)  L7_bigfishdied = 0
 ( 8)  L8_bigfishdied = 0
 ( 9)  L9_bigfishdied = 0
 (10)  L10_bigfishdied = 0
 (11)  L11_bigfishdied = 0
 (12)  L12_bigfishdied = 0
 (13)  L13_bigfishdied = 0
 (14)  L14_bigfishdied = 0
 (15)  L15_bigfishdied = 0

       F( 15,  1124) =    1.49
            Prob > F =    0.1029

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0
 ( 7)  F7_bigfishdied = 0
 ( 8)  F8_bigfishdied = 0
 ( 9)  F9_bigfishdied = 0
 (10)  F10_bigfishdied = 0
 (11)  F11_bigfishdied = 0
 (12)  F12_bigfishdied = 0
 (13)  F13_bigfishdied = 0
 (14)  F14_bigfishdied = 0
 (15)  F15_bigfishdied = 0

       F( 15,  1124) =    2.51
            Prob > F =    0.0012

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. * Saving coefficients to matrix
. matrix coefs15 = e(b)

. 
. * Left-hand panel
. coefplot ///
> (coefficients15, mcolor(black) ciopts(lcolor(black)) keep(bigfishdied L*bigfishdied) label("Coefficient estimates on hit")) ///
> (coefficients15, mcolor(gray) ciopts(lcolor(gray) lpattern(dash)) keep(bigfishtarget L*bigfishtarget) label("Coefficient estimates on tar
> geted")) ///
> , vert ///
> order(bigfish* L1_* L2_* L3_* L4_* L5_* L6_* L7_* L8_* L9_* L10_* L11_* L12_* L13_* L14*_ L15*) ///
> plotregion(style(none)) graphregion(ifcolor(white) fcolor(white) color(white) icolor(white)) ///
> ytitle("Coefficient estimate") ///
> yline(0, lcolor(black)) xline(1, lcolor(red)) legend(row(4)) nooffsets ///
> xtick(1(2)31) xlabel(1 "t" 3 "t+1" 5 "t+2" 7 "t+3" 9 "t+4" 11 "t+5" 13 "t+6" 15 "t+7" 17 "t+8" 19 "t+9" 21 "t+10" 23 "t+11" 25 "t+12" 27 
> "t+13" 29 "t+14" 31 "t+15", labsize(small)) 

. 
. graph save graphs/combine_speedup1.gph, replace
(file graphs/combine_speedup1.gph saved)

.  
. * Retrieving estimates from matrix
. clear

. svmat coefs15
number of observations will be reset to 1
Press any key to continue, or Break to abort
number of observations (_N) was 0, now 1

. 
. * Cleaning
. keep coefs1516-coefs1531 coefs1547-coefs1562

. rename (coefs151? coefs152? coefs153?) (coefs141? coefs142? coefs143?)

. 
. forvalues i = 16(1)31 {
  2.         local j = `i'-16
  3.         rename coefs14`i' coefs14`j'
  4. }

. 
. forvalues i = 47(1)62 {
  2.         local j = `i'-47
  3.         rename coefs15`i' coefs15`j'
  4. }

. gen id = _n

. 
. reshape long coefs15 coefs14, i(id) j(time)
(note: j = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15)

Data                               wide   ->   long
-----------------------------------------------------------------------------
Number of obs.                        1   ->      16
Number of variables                  33   ->       4
j variable (16 values)                    ->   time
xij variables:
        coefs150 coefs151 ... coefs1515   ->   coefs15
        coefs140 coefs141 ... coefs1415   ->   coefs14
-----------------------------------------------------------------------------

. rename (coefs14 coefs15) (coefattempt coefhit)

. 
. * Right-hand panel
. graph twoway (fpfitci coefhit time if time!=0, lcolor(black) fcolor(gs13) alcolor(gs13) estopts(degree(2))) ///
> (fpfitci coefattempt time if time!=0, clcolor(gs10) fcolor(none) alcolor(gs10) alpattern(dash) estopts(degree(2))) ///
> (scatter coefhit time, mcolor(black)) ///
> (scatter coefattempt time, mcolor(gray)), ///
> plotregion(style(none)) graphregion(ifcolor(white) fcolor(white) color(white) icolor(white)) ///
> xtick(0(1)15) xlabel(0 "t" 1 "t+1" 2 "t+2" 3 "t+3" 4 "t+4" 5 "t+5" 6 "t+6" 7 "t+7" 8 "t+8" 9 "t+9" 10 "t+10" 11 "t+11" 12 "t+12" 13 "t+13
> " 14 "t+14" 15 "t+15", labsize(small)) ///
> ytitle("Coefficient estimate") ///
> yline(0, lcolor(black)) xline(0, lcolor(red)) ///
> legend(order(2 4) label(2 "cubic trend hit and 95% CI") label(4 "cubic trend targeted and 95% CI") row(2)) ///
> yscale(range(-1 1)) ytick(-1(0.5)1) ylabel(-1(0.5)1) ///
> xtitle("")

. 
. graph save graphs/combine_speedup2.gph, replace
(file graphs/combine_speedup2.gph saved)

. 
. * Combining both panels
. graph combine graphs/combine_speedup1.gph graphs/combine_speedup2.gph, rows(1) ///
> graphregion(ifcolor(white) fcolor(white) color(white) icolor(white)) ///
> title("Terrorist attacks", color(black)) ///
> xsize(7)

. 
. graph export graphs/Rigterink_Fig2.pdf, replace
(file graphs/Rigterink_Fig2.pdf written in PDF format)

. 
. 
. ***************
. *** Table 5 ***
. ***************
. 
. use "dta/Rigterink_drones_replication_maindataset.dta", clear

. 
. * Baseline
. 
. reghdfe terratt F*bigfishtarget bigfishtarget L*_bigfishtarget F*bigfishdied bigfishdied L*_bigfishdied *dronestrike, absorb(i.groupid i.
> periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.65
Statistics robust to autocorrelation              Prob > F        =     0.0073
 (kernel=Bartlett bw=12)                          R-squared       =     0.8500
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8304
                                                  Within R-sq.    =     0.0585
                                                  Root MSE        =     0.4945

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
F1_bigfishtarget |   .1369648   .1318474     1.04   0.299     -.121676    .3956056
F2_bigfishtarget |  -.1294474   .1312784    -0.99   0.324     -.386972    .1280772
F3_bigfishtarget |  -.1746817    .131616    -1.33   0.185    -.4328685    .0835051
F4_bigfishtarget |   .0894371   .1294805     0.69   0.490    -.1645606    .3434347
F5_bigfishtarget |   .0749033   .1324344     0.57   0.572    -.1848889    .3346956
F6_bigfishtarget |  -.0307556   .1326634    -0.23   0.817    -.2909971    .2294859
   bigfishtarget |  -.0077322     .12674    -0.06   0.951     -.256354    .2408896
L1_bigfishtarget |  -.1018985   .1286824    -0.79   0.429    -.3543305    .1505336
L2_bigfishtarget |  -.0828627   .1294455    -0.64   0.522    -.3367917    .1710664
L3_bigfishtarget |  -.0652601     .12889    -0.51   0.613    -.3180994    .1875792
L4_bigfishtarget |   .0484945   .1295014     0.37   0.708    -.2055441    .3025331
L5_bigfishtarget |   .0850016    .129467     0.66   0.512    -.1689695    .3389726
L6_bigfishtarget |   .1017857   .1331879     0.76   0.445    -.1594847     .363056
  F1_bigfishdied |   .1540285   .1970328     0.78   0.435    -.2324844    .5405413
  F2_bigfishdied |    .157969   .1953984     0.81   0.419    -.2253376    .5412757
  F3_bigfishdied |   .3652321   .1955591     1.87   0.062    -.0183898     .748854
  F4_bigfishdied |   .3350739   .1968945     1.70   0.089    -.0511676    .7213153
  F5_bigfishdied |   .2192382   .1932089     1.13   0.257    -.1597732    .5982497
  F6_bigfishdied |   .1091382   .1895917     0.58   0.565    -.2627777     .481054
     bigfishdied |   .2984742   .1908314     1.56   0.118    -.0758735     .672822
  L1_bigfishdied |    .208603   .1933458     1.08   0.281    -.1706771    .5878831
  L2_bigfishdied |   .3901757    .191277     2.04   0.042      .014954    .7653975
  L3_bigfishdied |   .5325875   .1909341     2.79   0.005     .1580383    .9071367
  L4_bigfishdied |   .1191217   .1938552     0.61   0.539    -.2611577    .4994011
  L5_bigfishdied |   .0951093   .1893617     0.50   0.616    -.2763553     .466574
  L6_bigfishdied |   .4222847    .192145     2.20   0.028     .0453602    .7992092
     dronestrike |   .0123049   .0226974     0.54   0.588    -.0322199    .0568297
  L1_dronestrike |  -.0213606   .0227255    -0.94   0.347    -.0659405    .0232193
  F1_dronestrike |   .0508878   .0229907     2.21   0.027     .0057877    .0959879
  L2_dronestrike |   .0126486   .0227932     0.55   0.579    -.0320641    .0573612
  F2_dronestrike |   .0376396   .0228982     1.64   0.100     -.007279    .0825582
  L3_dronestrike |  -.0042479   .0226063    -0.19   0.851    -.0485939    .0400981
  F3_dronestrike |   .0023332   .0228041     0.10   0.919    -.0424009    .0470673
  L4_dronestrike |  -.0100082   .0227199    -0.44   0.660     -.054577    .0345606
  F4_dronestrike |  -.0199614   .0233996    -0.85   0.394    -.0658636    .0259407
  L5_dronestrike |    .000634    .023735     0.03   0.979    -.0459261    .0471941
  F5_dronestrike |   .0550083   .0243075     2.26   0.024      .007325    .1026916
  L6_dronestrike |   .0100556   .0259275     0.39   0.698    -.0408055    .0609166
  F6_dronestrike |   .0823913   .0261189     3.15   0.002     .0311547    .1336279
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     26.970   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.44
            Prob > F =    0.0236

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    0.74
            Prob > F =    0.6137

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. outreg2 using tables/Rigterink_Tab5, replace label tex(frag) ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("Baseline", "Terr.att.") 
tables/Rigterink_Tab5.tex
dir : seeout

. 
. * Not controlling for drone strikes
. reghdfe terratt *bigfishtarget *bigfishdied, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  26,   1407) =       1.61
Statistics robust to autocorrelation              Prob > F        =     0.0271
 (kernel=Bartlett bw=12)                          R-squared       =     0.8470
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8286
                                                  Within R-sq.    =     0.0396
                                                  Root MSE        =     0.4972

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .0049693    .124378     0.04   0.968    -.2390169    .2489555
L1_bigfishtarget |  -.0393023   .1250291    -0.31   0.753    -.2845658    .2059611
F1_bigfishtarget |   .1777935   .1289889     1.38   0.168    -.0752378    .4308249
L2_bigfishtarget |  -.0276374   .1255152    -0.22   0.826    -.2738544    .2185796
F2_bigfishtarget |  -.0749432   .1276659    -0.59   0.557    -.3253792    .1754929
L3_bigfishtarget |   -.107785   .1254427    -0.86   0.390    -.3538598    .1382898
F3_bigfishtarget |  -.1321677   .1273027    -1.04   0.299    -.3818913    .1175559
L4_bigfishtarget |  -.0121079   .1252968    -0.10   0.923    -.2578966    .2336808
F4_bigfishtarget |    .085566    .127008     0.67   0.501    -.1635794    .3347115
L5_bigfishtarget |   .1020448   .1253227     0.81   0.416    -.1437946    .3478843
F5_bigfishtarget |   .1360917   .1294736     1.05   0.293    -.1178904    .3900737
L6_bigfishtarget |   .1404191   .1276237     1.10   0.271    -.1099341    .3907723
F6_bigfishtarget |    .067024   .1299153     0.52   0.606    -.1878245    .3218726
     bigfishdied |   .2667556   .1902703     1.40   0.161    -.1064885    .6399998
  L1_bigfishdied |   .1136395   .1918971     0.59   0.554    -.2627957    .4900746
  F1_bigfishdied |   .1417199   .1962677     0.72   0.470    -.2432889    .5267287
  L2_bigfishdied |   .3509816    .190785     1.84   0.066    -.0232722    .7252353
  F2_bigfishdied |   .1414282   .1939722     0.73   0.466    -.2390776    .5219341
  L3_bigfishdied |   .5775027   .1904019     3.03   0.002     .2040004    .9510049
  F3_bigfishdied |   .3143998   .1936209     1.62   0.105    -.0654169    .6942165
  L4_bigfishdied |   .1402028   .1929098     0.73   0.467     -.238219    .5186246
  F4_bigfishdied |   .2691095   .1964758     1.37   0.171    -.1163076    .6545265
  L5_bigfishdied |   .0550148     .18833     0.29   0.770     -.314423    .4244526
  F5_bigfishdied |   .2088954   .1931398     1.08   0.280    -.1699776    .5877685
  L6_bigfishdied |    .376295    .191831     1.96   0.050    -.0000106    .7526007
  F6_bigfishdied |    .110818   .1886171     0.59   0.557     -.259183     .480819
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1407) =     42.787   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1407) =    2.68
            Prob > F =    0.0137

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1407) =    0.53
            Prob > F =    0.7885

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. outreg2 using tables/Rigterink_Tab5, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("No", "controls", "Terr.att.")
warning: addnote ignored in appended columns
tables/Rigterink_Tab5.tex
dir : seeout

. 
. * Leader Fixed effects
. reghdfe terratt *bigfishtarget *bigfishdied bigfishdum* *dronestrike, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  61,   1372) =       2.40
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8601
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8393
                                                  Within R-sq.    =     0.1218
                                                  Root MSE        =     0.4815

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .1154089   .2292724     0.50   0.615    -.3343534    .5651713
L1_bigfishtarget |  -.2209744    .137602    -1.61   0.109    -.4909074    .0489587
F1_bigfishtarget |    .155656   .1340299     1.16   0.246    -.1072698    .4185818
L2_bigfishtarget |  -.1587129   .1352554    -1.17   0.241    -.4240427     .106617
F2_bigfishtarget |   -.226642   .1344834    -1.69   0.092    -.4904574    .0371733
L3_bigfishtarget |  -.1038934   .1310369    -0.79   0.428    -.3609478    .1531609
F3_bigfishtarget |  -.1904749   .1319766    -1.44   0.149    -.4493726    .0684228
L4_bigfishtarget |   .0225359   .1299727     0.17   0.862    -.2324309    .2775026
F4_bigfishtarget |   .0654434   .1313556     0.50   0.618    -.1922362     .323123
L5_bigfishtarget |   .0400984   .1314521     0.31   0.760    -.2177706    .2979673
F5_bigfishtarget |   .2245803   .1350627     1.66   0.097    -.0403716    .4895321
L6_bigfishtarget |   .0919703   .1358781     0.68   0.499     -.174581    .3585216
F6_bigfishtarget |   .0241354   .1384594     0.17   0.862    -.2474797    .2957505
     bigfishdied |   .1255231   .2190276     0.57   0.567    -.3041421    .5551884
  L1_bigfishdied |   .3445308    .195354     1.76   0.078     -.038694    .7277557
  F1_bigfishdied |   .0109726   .1974001     0.06   0.956    -.3762661    .3982113
  L2_bigfishdied |   .4653293   .2007288     2.32   0.021     .0715606    .8590979
  F2_bigfishdied |   .3194496   .2043465     1.56   0.118    -.0814159     .720315
  L3_bigfishdied |   .5216573    .194467     2.68   0.007     .1401724    .9031423
  F3_bigfishdied |   .2906673   .1944514     1.49   0.135     -.090787    .6721217
  L4_bigfishdied |   .1302415   .1914966     0.68   0.497    -.2454163    .5058992
  F4_bigfishdied |   .5117382   .1998054     2.56   0.011      .119781    .9036954
  L5_bigfishdied |   .0555965   .1930334     0.29   0.773     -.323076     .434269
  F5_bigfishdied |   .0447096   .1929971     0.23   0.817    -.3338918     .423311
  L6_bigfishdied |   .4686307   .1928023     2.43   0.015     .0904115      .84685
  F6_bigfishdied |   .0329608   .1954326     0.17   0.866    -.3504183    .4163399
     bigfishdum1 |  -2.373152   .5287687    -4.49   0.000    -3.410435   -1.335869
     bigfishdum2 |   1.175635   .4953686     2.37   0.018     .2038727    2.147396
     bigfishdum3 |   .5482813   .4185723     1.31   0.190    -.2728296    1.369392
     bigfishdum4 |  -1.604335   .4228386    -3.79   0.000    -2.433816   -.7748551
     bigfishdum5 |  -.2829965   .4598199    -0.62   0.538    -1.185023    .6190296
     bigfishdum6 |   .0788542   .3543814     0.22   0.824    -.6163338    .7740422
     bigfishdum8 |   .1333632   .1488373     0.90   0.370      -.15861    .4253365
     bigfishdum9 |  -.2264454   .2837909    -0.80   0.425    -.7831565    .3302657
    bigfishdum10 |  -.2070704    .413945    -0.50   0.617    -1.019104    .6049632
    bigfishdum11 |   .0134768   .3583885     0.04   0.970    -.6895721    .7165256
    bigfishdum12 |  -.1961397   .4107637    -0.48   0.633    -1.001933    .6096532
    bigfishdum13 |  -.8232139   .5512644    -1.49   0.136    -1.904626    .2581985
    bigfishdum14 |  -.2392329    .198118    -1.21   0.227    -.6278798    .1494141
    bigfishdum15 |  -.1033282   .4008485    -0.26   0.797    -.8896706    .6830141
    bigfishdum16 |  -1.841168   .4279551    -4.30   0.000    -2.680685   -1.001651
    bigfishdum17 |  -1.119833   .5710817    -1.96   0.050    -2.240121    .0004546
    bigfishdum18 |   .5003464    .355043     1.41   0.159    -.1961395    1.196832
    bigfishdum19 |   .5030131   .3846267     1.31   0.191    -.2515069    1.257533
    bigfishdum20 |   1.061984   .5777271     1.84   0.066    -.0713396    2.195308
    bigfishdum21 |   .2660347   .4535381     0.59   0.558    -.6236686    1.155738
    bigfishdum22 |   .3691666   .4115435     0.90   0.370    -.4381561    1.176489
    bigfishdum23 |   .3543993   .5608255     0.63   0.528    -.7457689    1.454568
     dronestrike |   .0155885   .0261674     0.60   0.551    -.0357439    .0669209
  L1_dronestrike |  -.0324867   .0229614    -1.41   0.157      -.07753    .0125566
  F1_dronestrike |   .0387082   .0237237     1.63   0.103    -.0078304    .0852469
  L2_dronestrike |   .0349162   .0235676     1.48   0.139    -.0113163    .0811487
  F2_dronestrike |   .0478465   .0231988     2.06   0.039     .0023375    .0933555
  L3_dronestrike |   .0000412   .0233314     0.00   0.999    -.0457279    .0458103
  F3_dronestrike |   .0107101   .0236107     0.45   0.650    -.0356068     .057027
  L4_dronestrike |  -.0110812   .0228277    -0.49   0.627    -.0558621    .0336997
  F4_dronestrike |  -.0285825   .0237153    -1.21   0.228    -.0751046    .0179396
  L5_dronestrike |     .00314   .0239764     0.13   0.896    -.0438944    .0501744
  F5_dronestrike |   .0529907   .0243307     2.18   0.030     .0052614    .1007201
  L6_dronestrike |    .003414    .025725     0.13   0.894    -.0470507    .0538787
  F6_dronestrike |   .0744763   .0256059     2.91   0.004     .0242454    .1247073
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1372) =     27.618   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1372) =    2.77
            Prob > F =    0.0111

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1372) =    1.61
            Prob > F =    0.1411

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. outreg2 using tables/Rigterink_Tab5, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "YES") ///
> nonotes addnote("Standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("Baseline", "Terr.att.") 
warning: addnote ignored in appended columns
tables/Rigterink_Tab5.tex
dir : seeout

. 
. * Controlling for Pakistani military action 
. reghdfe terratt *bigfishtarget *bigfishdied *pakmil *dronestrike, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,148
Absorbing 2 HDFE groups                           F(  52,    985) =       2.31
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8477
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8227
                                                  Within R-sq.    =     0.1417
                                                  Root MSE        =     0.4592

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0287522   .1269387    -0.23   0.821    -.2778535    .2203491
L1_bigfishtarget |  -.1065213   .1298073    -0.82   0.412     -.361252    .1482094
F1_bigfishtarget |   .2816962    .131615     2.14   0.033     .0234181    .5399742
L2_bigfishtarget |  -.1446694   .1285509    -1.13   0.261    -.3969345    .1075957
F2_bigfishtarget |  -.2135972   .1303575    -1.64   0.102    -.4694076    .0422132
L3_bigfishtarget |  -.0185614   .1290979    -0.14   0.886       -.2719    .2347772
F3_bigfishtarget |  -.1367977   .1310637    -1.04   0.297    -.3939939    .1203986
L4_bigfishtarget |   .0662192   .1306194     0.51   0.612    -.1901051    .3225434
F4_bigfishtarget |   .0553069      .1296     0.43   0.670     -.199017    .3096307
L5_bigfishtarget |    .118716   .1333531     0.89   0.374    -.1429728    .3804048
F5_bigfishtarget |   .0742815    .130644     0.57   0.570    -.1820911    .3306541
L6_bigfishtarget |   .1647473   .1339872     1.23   0.219     -.098186    .4276805
F6_bigfishtarget |  -.0580096   .1322194    -0.44   0.661    -.3174736    .2014545
     bigfishdied |   .3860871    .239152     1.61   0.107    -.0832189    .8553931
  L1_bigfishdied |   .3376764   .2409917     1.40   0.161    -.1352397    .8105925
  F1_bigfishdied |   .1061362   .2446072     0.43   0.664    -.3738749    .5861473
  L2_bigfishdied |   .5951458   .2505712     2.38   0.018     .1034311    1.086861
  F2_bigfishdied |   .3051086   .2398575     1.27   0.204    -.1655817     .775799
  L3_bigfishdied |   .7483493   .2508289     2.98   0.003     .2561288     1.24057
  F3_bigfishdied |   .0630519   .2390752     0.26   0.792    -.4061033    .5322071
  L4_bigfishdied |   .1655432   .2697875     0.61   0.540    -.3638811    .6949675
  F4_bigfishdied |    .629948   .2273502     2.77   0.006     .1838016    1.076094
  L5_bigfishdied |   .3966163   .2547473     1.56   0.120    -.1032935     .896526
  F5_bigfishdied |   .0413362   .2184455     0.19   0.850    -.3873358    .4700082
  L6_bigfishdied |   .5292053   .2604803     2.03   0.042     .0180452    1.040365
  F6_bigfishdied |   .1509316   .2179915     0.69   0.489    -.2768496    .5787127
          pakmil |   .1228729   .1032868     1.19   0.234    -.0798146    .3255603
       L1_pakmil |   .0003098   .1002888     0.00   0.998    -.1964945    .1971141
       F1_pakmil |   .0217371   .1057161     0.21   0.837    -.1857176    .2291919
       L2_pakmil |  -.2347079   .0993235    -2.36   0.018    -.4296179    -.039798
       F2_pakmil |   .1842844   .1043071     1.77   0.078    -.0204053     .388974
       L3_pakmil |   .3624876   .0992928     3.65   0.000     .1676378    .5573375
       F3_pakmil |  -.0430542   .1036338    -0.42   0.678    -.2464227    .1603142
       L4_pakmil |   -.086045   .0988425    -0.87   0.384    -.2800111     .107921
       F4_pakmil |   .0623488   .1041486     0.60   0.550    -.1420298    .2667275
       L5_pakmil |  -.0361886   .0979343    -0.37   0.712    -.2283724    .1559953
       F5_pakmil |    .056722   .1031537     0.55   0.583    -.1457043    .2591484
       L6_pakmil |  -.1029765   .0991895    -1.04   0.299    -.2976236    .0916706
       F6_pakmil |   .0684837   .1085488     0.63   0.528    -.1445297    .2814971
     dronestrike |   .0332392   .0246899     1.35   0.179    -.0152118    .0816901
  L1_dronestrike |  -.0169685   .0245379    -0.69   0.489    -.0651211     .031184
  F1_dronestrike |   .0690162   .0247232     2.79   0.005     .0205001    .1175324
  L2_dronestrike |   .0167814   .0249516     0.67   0.501    -.0321829    .0657457
  F2_dronestrike |   .0552207   .0248993     2.22   0.027      .006359    .1040824
  L3_dronestrike |  -.0112792   .0251424    -0.45   0.654    -.0606179    .0380596
  F3_dronestrike |   .0196873   .0248484     0.79   0.428    -.0290746    .0684491
  L4_dronestrike |  -.0087703   .0252484    -0.35   0.728    -.0583172    .0407766
  F4_dronestrike |  -.0038095   .0251879    -0.15   0.880    -.0532376    .0456187
  L5_dronestrike |  -.0045947   .0259983    -0.18   0.860    -.0556131    .0464238
  F5_dronestrike |   .0933681   .0257714     3.62   0.000      .042795    .1439413
  L6_dronestrike |    .031111   .0276474     1.13   0.261    -.0231436    .0853657
  F6_dronestrike |   .1055888   .0272453     3.88   0.000     .0521232    .1590544
-----------------+----------------------------------------------------------------
        Absorbed |       F(110, 985) =     19.400   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |           98              99              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,   985) =    2.41
            Prob > F =    0.0258

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,   985) =    1.61
            Prob > F =    0.1414

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. outreg2 using tables/Rigterink_Tab5, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("Pak. mil", "action", "6L\&Ls", "Terr.att.")
warning: addnote ignored in appended columns
tables/Rigterink_Tab5.tex
dir : seeout

. 
. * Controlling for peace agreement
. reghdfe terratt *bigfishtarget *bigfishdied *peace *dronestrike, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,148
Absorbing 2 HDFE groups                           F(  52,    985) =       2.38
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8523
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8280
                                                  Within R-sq.    =     0.1674
                                                  Root MSE        =     0.4523

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0296585   .1252585    -0.24   0.813    -.2754627    .2161457
L1_bigfishtarget |  -.0828051    .128199    -0.65   0.518    -.3343796    .1687694
F1_bigfishtarget |   .2768359   .1298718     2.13   0.033     .0219787    .5316931
L2_bigfishtarget |  -.0948348   .1270447    -0.75   0.456    -.3441442    .1544746
F2_bigfishtarget |  -.2205451    .128921    -1.71   0.087    -.4735364    .0324462
L3_bigfishtarget |  -.0503681   .1272624    -0.40   0.692    -.3001048    .1993685
F3_bigfishtarget |  -.1468134   .1295291    -1.13   0.257    -.4009981    .1073713
L4_bigfishtarget |   .0546506   .1293351     0.42   0.673    -.1991534    .3084546
F4_bigfishtarget |   .0538621   .1278255     0.42   0.674    -.1969794    .3047037
L5_bigfishtarget |   .1705826   .1315635     1.30   0.195    -.0875944    .4287597
F5_bigfishtarget |   .0649878   .1287595     0.50   0.614    -.1876867    .3176622
L6_bigfishtarget |     .20091   .1319644     1.52   0.128    -.0580535    .4598736
F6_bigfishtarget |  -.0729855   .1298402    -0.56   0.574    -.3277807    .1818097
     bigfishdied |   .4203916    .234525     1.79   0.073    -.0398344    .8806176
  L1_bigfishdied |   .3608744   .2361574     1.53   0.127     -.102555    .8243038
  F1_bigfishdied |   .1558223   .2395885     0.65   0.516    -.3143404    .6259849
  L2_bigfishdied |   .6080012   .2461998     2.47   0.014     .1248648    1.091138
  F2_bigfishdied |   .3560972   .2352817     1.51   0.130    -.1056139    .8178082
  L3_bigfishdied |   .8399725   .2462711     3.41   0.001     .3566961    1.323249
  F3_bigfishdied |   .1071899   .2344479     0.46   0.648    -.3528848    .5672646
  L4_bigfishdied |   .2166762   .2655623     0.82   0.415    -.3044567    .7378092
  F4_bigfishdied |    .634243   .2229187     2.85   0.005     .1967928    1.071693
  L5_bigfishdied |   .4368435   .2513281     1.74   0.082    -.0563566    .9300437
  F5_bigfishdied |   .0404051   .2148564     0.19   0.851    -.3812238    .4620339
  L6_bigfishdied |   .5544528   .2565619     2.16   0.031     .0509821    1.057924
  F6_bigfishdied |   .1610715   .2140248     0.75   0.452    -.2589254    .5810685
           peace |   -.099253   .1729765    -0.57   0.566    -.4386977    .2401918
        L1_peace |  -.0137106   .1659051    -0.08   0.934    -.3392787    .3118575
        F1_peace |    .042072   .1758595     0.24   0.811    -.3030302    .3871743
        L2_peace |   .0358028   .1654574     0.22   0.829    -.2888868    .3604924
        F2_peace |  -.1672577   .1756807    -0.95   0.341    -.5120093    .1774938
        L3_peace |  -.0027141   .1625906    -0.02   0.987     -.321778    .3163497
        F3_peace |   .1423924   .1757608     0.81   0.418    -.2025161     .487301
        L4_peace |  -.0645927   .1540418    -0.42   0.675    -.3668805     .237695
        F4_peace |   .1921812   .1766469     1.09   0.277    -.1544663    .5388286
        L5_peace |   .2574405    .154939     1.66   0.097    -.0466079    .5614889
        F5_peace |  -.3235128    .177963    -1.82   0.069     -.672743    .0257173
        L6_peace |   .1953628   .1382032     1.41   0.158    -.0758438    .4665695
        F6_peace |   .2100367   .1582246     1.33   0.185    -.1004593    .5205328
     dronestrike |   .0270009   .0246713     1.09   0.274    -.0214135    .0754154
  L1_dronestrike |  -.0233968   .0245258    -0.95   0.340    -.0715256     .024732
  F1_dronestrike |   .0621785   .0247352     2.51   0.012     .0136388    .1107182
  L2_dronestrike |   .0046406   .0250216     0.19   0.853    -.0444612    .0537424
  F2_dronestrike |   .0451091    .024899     1.81   0.070     -.003752    .0939703
  L3_dronestrike |  -.0177129    .025188    -0.70   0.482    -.0671411    .0317153
  F3_dronestrike |    .020914   .0248524     0.84   0.400    -.0278557    .0696837
  L4_dronestrike |  -.0147316   .0252528    -0.58   0.560    -.0642871    .0348238
  F4_dronestrike |  -.0080467   .0251162    -0.32   0.749    -.0573341    .0412407
  L5_dronestrike |  -.0198051   .0259295    -0.76   0.445    -.0706885    .0310783
  F5_dronestrike |   .0902778   .0256613     3.52   0.000     .0399206    .1406349
  L6_dronestrike |   .0211306   .0274012     0.77   0.441    -.0326409    .0749021
  F6_dronestrike |   .1031899   .0269598     3.83   0.000     .0502847    .1560951
-----------------+----------------------------------------------------------------
        Absorbed |       F(110, 985) =     20.314   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |           98              99              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,   985) =    2.85
            Prob > F =    0.0094

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,   985) =    1.63
            Prob > F =    0.1348

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. outreg2 using tables/Rigterink_Tab5, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("Peace", "agreem.", "6L\&Ls", "Terr.att.")
warning: addnote ignored in appended columns
tables/Rigterink_Tab5.tex
dir : seeout

. 
. * Alternative treatment AQ
. reghdfe terrattexAQ *bigfishtarget *bigfishdied *dronestrike, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.36
Statistics robust to autocorrelation              Prob > F        =     0.0702
 (kernel=Bartlett bw=12)                          R-squared       =     0.8611
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8430
                                                  Within R-sq.    =     0.0233
                                                  Root MSE        =     0.4264

----------------------------------------------------------------------------------
     terrattexAQ |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0084841   .1097646    -0.08   0.938    -.2238057    .2068375
L1_bigfishtarget |  -.1227162   .1114312    -1.10   0.271    -.3413071    .0958748
F1_bigfishtarget |   .1408967   .1140878     1.23   0.217    -.0829057    .3646991
L2_bigfishtarget |    .077721   .1119407     0.69   0.488    -.1418694    .2973113
F2_bigfishtarget |  -.1965205   .1135421    -1.73   0.084    -.4192523    .0262112
L3_bigfishtarget |  -.0502103   .1115337    -0.45   0.653    -.2690024    .1685818
F3_bigfishtarget |  -.1057397   .1138583    -0.93   0.353    -.3290918    .1176125
L4_bigfishtarget |   -.083127   .1120038    -0.74   0.458    -.3028411    .1365871
F4_bigfishtarget |    .107436   .1120713     0.96   0.338    -.1124106    .3272827
L5_bigfishtarget |  -.0216691   .1115114    -0.19   0.846    -.2404172    .1970791
F5_bigfishtarget |   .1035248   .1142309     0.91   0.365    -.1205583    .3276078
L6_bigfishtarget |   .1014343   .1146578     0.88   0.376    -.1234861    .3263548
F6_bigfishtarget |  -.0539719   .1144073    -0.47   0.637     -.278401    .1704572
     bigfishdied |   .0645329    .164199     0.39   0.694    -.2575709    .3866367
  L1_bigfishdied |   .0722163   .1662309     0.43   0.664    -.2538734    .3983061
  F1_bigfishdied |  -.1234017    .169326    -0.73   0.466    -.4555631    .2087596
  L2_bigfishdied |  -.0848729   .1644989    -0.52   0.606     -.407565    .2378191
  F2_bigfishdied |   .1360709   .1679504     0.81   0.418     -.193392    .4655338
  L3_bigfishdied |   .1861397   .1642987     1.13   0.257    -.1361596     .508439
  F3_bigfishdied |   .0950706   .1680917     0.57   0.572    -.2346693    .4248106
  L4_bigfishdied |  -.0556908   .1666084    -0.33   0.738     -.382521    .2711395
  F4_bigfishdied |   .3251328   .1691491     1.92   0.055    -.0066815    .6569471
  L5_bigfishdied |   .0647408   .1629511     0.40   0.691     -.254915    .3843966
  F5_bigfishdied |  -.0955306   .1663117    -0.57   0.566    -.4217789    .2307177
  L6_bigfishdied |  -.0105579   .1656134    -0.06   0.949    -.3354363    .3143205
  F6_bigfishdied |   -.076914   .1634351    -0.47   0.638    -.3975192    .2436912
     dronestrike |   .0084606   .0198745     0.43   0.670    -.0305265    .0474478
  L1_dronestrike |  -.0342249   .0199034    -1.72   0.086    -.0732688     .004819
  F1_dronestrike |   .0118072   .0201329     0.59   0.558    -.0276869    .0513013
  L2_dronestrike |   .0003697   .0199382     0.02   0.985    -.0387425    .0394819
  F2_dronestrike |   .0294262    .020039     1.47   0.142    -.0098836    .0687359
  L3_dronestrike |  -.0040052   .0197958    -0.20   0.840    -.0428381    .0348276
  F3_dronestrike |  -.0156754   .0199794    -0.78   0.433    -.0548684    .0235176
  L4_dronestrike |   .0090844   .0198873     0.46   0.648     -.029928    .0480967
  F4_dronestrike |  -.0594734   .0204579    -2.91   0.004     -.099605   -.0193418
  L5_dronestrike |   -.012545   .0206318    -0.61   0.543    -.0530177    .0279278
  F5_dronestrike |   .0038883   .0211209     0.18   0.854    -.0375439    .0453204
  L6_dronestrike |   .0093487   .0223601     0.42   0.676    -.0345144    .0532119
  F6_dronestrike |   .0492748   .0225182     2.19   0.029     .0051015    .0934481
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     41.762   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    0.61
            Prob > F =    0.7231

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.50
            Prob > F =    0.1753

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
 terrattexAQ |        101    1.167248    1.204018          0   3.401197

. 
. outreg2 using tables/Rigterink_Tab5, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("Alt.", "aggreg.", "AQ", "Terr.att.")
warning: addnote ignored in appended columns
tables/Rigterink_Tab5.tex
dir : seeout

. 
. * Alternative treatment 'local Taliban' and TTP
. preserve

. 
. replace groupid=9 if groupid==12 & periodid>47 
(97 real changes made)

. 
. collapse (rawsum) terratt_unlog terrattexAQ *dronestrike (max) *bigfishtarget *bigfishdied, by(groupid periodid)

. 
. gen terratt = ln(terratt_unlog+1)

. 
. label var terratt "Terr. att."

. 
. reghdfe terratt *bigfishtarget *bigfishdied *dronestrike, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,492
Absorbing 2 HDFE groups                           F(  39,   1309) =       1.70
Statistics robust to autocorrelation              Prob > F        =     0.0049
 (kernel=Bartlett bw=12)                          R-squared       =     0.8516
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8310
                                                  Within R-sq.    =     0.0658
                                                  Root MSE        =     0.5032

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0036383   .1271877    -0.03   0.977    -.2531523    .2458758
L1_bigfishtarget |  -.1961236   .1289672    -1.52   0.129    -.4491287    .0568814
F1_bigfishtarget |   .0332681   .1273659     0.26   0.794    -.2165956    .2831317
L2_bigfishtarget |  -.1262598   .1295266    -0.97   0.330    -.3803622    .1278427
F2_bigfishtarget |  -.1437817   .1300753    -1.11   0.269    -.3989605    .1113972
L3_bigfishtarget |   -.063632    .128219    -0.50   0.620    -.3151691    .1879051
F3_bigfishtarget |  -.2221626   .1303014    -1.70   0.088     -.477785    .0334598
L4_bigfishtarget |   .0190485   .1276105     0.15   0.881     -.231295    .2693919
F4_bigfishtarget |   .0078282   .1276698     0.06   0.951    -.2426316     .258288
L5_bigfishtarget |   .1014027   .1310894     0.77   0.439    -.1557655    .3585709
F5_bigfishtarget |   .1108904   .1305405     0.85   0.396    -.1452012    .3669819
L6_bigfishtarget |   .1185826   .1344702     0.88   0.378    -.1452181    .3823834
F6_bigfishtarget |  -.0795532    .130503    -0.61   0.542    -.3355712    .1764647
     bigfishdied |   .3003233   .1939384     1.55   0.122    -.0801407    .6807873
  L1_bigfishdied |   .3258506   .1961963     1.66   0.097     -.059043    .7107441
  F1_bigfishdied |   .2660719    .196066     1.36   0.175    -.1185659    .6507098
  L2_bigfishdied |   .4028132   .1938352     2.08   0.038     .0225516    .7830748
  F2_bigfishdied |   .1705527    .196156     0.87   0.385    -.2142618    .5553672
  L3_bigfishdied |   .5292298   .1933055     2.74   0.006     .1500074    .9084522
  F3_bigfishdied |   .3948066   .1965872     2.01   0.045     .0091463    .7804669
  L4_bigfishdied |   .1335176   .1963758     0.68   0.497    -.2517282    .5187634
  F4_bigfishdied |   .4047166   .1978637     2.05   0.041      .016552    .7928813
  L5_bigfishdied |   .0501167   .1937783     0.26   0.796    -.3300332    .4302666
  F5_bigfishdied |   .1808876   .1944198     0.93   0.352    -.2005208     .562296
  L6_bigfishdied |    .408586   .1963026     2.08   0.038     .0234839    .7936881
  F6_bigfishdied |   .1433396   .1908904     0.75   0.453     -.231145    .5178242
     dronestrike |   .0121862   .0228614     0.53   0.594    -.0326627    .0570352
  L1_dronestrike |  -.0224599   .0228834    -0.98   0.327    -.0673521    .0224322
  F1_dronestrike |   .0544501   .0231619     2.35   0.019     .0090115    .0998886
  L2_dronestrike |   .0218262   .0230445     0.95   0.344     -.023382    .0670345
  F2_dronestrike |   .0433904   .0230681     1.88   0.060    -.0018642     .088645
  L3_dronestrike |  -.0106636   .0229507    -0.46   0.642    -.0556878    .0343605
  F3_dronestrike |   .0150344   .0229419     0.66   0.512    -.0299725    .0600412
  L4_dronestrike |  -.0105897   .0230315    -0.46   0.646    -.0557723    .0345929
  F4_dronestrike |  -.0213853   .0233134    -0.92   0.359    -.0671211    .0243505
  L5_dronestrike |  -.0011784   .0239373    -0.05   0.961     -.048138    .0457813
  F5_dronestrike |   .0605098   .0240285     2.52   0.012     .0133712    .1076483
  L6_dronestrike |   .0145492   .0262266     0.55   0.579    -.0369017        .066
  F6_dronestrike |   .0812869   .0258029     3.15   0.002     .0306674    .1319065
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1309) =     26.448   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1309) =    2.37
            Prob > F =    0.0279

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1309) =    1.05
            Prob > F =    0.3942

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. 
. outreg2 using tables/Rigterink_Tab5, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("Alt.", "aggreg.", "TTP", "Terr.att.")
warning: addnote ignored in appended columns
tables/Rigterink_Tab5.tex
dir : seeout

. 
. restore

. 
. * Alternative leader coding
. 
. preserve

. 
. drop F*_bigfishdied L*_bigfishdied bigfishdied F*_bigfishtarget L*_bigfishtarget bigfishtarget

. rename (L?_hvtdied F?_hvtdied hvtdied L?_hvttarget F?_hvttarget hvttarget) (L?_bigfishdied F?_bigfishdied bigfishdied L?_bigfishtarget F?
> _bigfishtarget bigfishtarget)

. 
. reghdfe terratt *bigfishtarget *bigfishdied *dronestrike, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.86
Statistics robust to autocorrelation              Prob > F        =     0.0011
 (kernel=Bartlett bw=12)                          R-squared       =     0.8522
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8329
                                                  Within R-sq.    =     0.0723
                                                  Root MSE        =     0.4909

----------------------------------------------------------------------------------
         terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .0100333   .1247384     0.08   0.936     -.234662    .2547285
L1_bigfishtarget |  -.0248548   .1252387    -0.20   0.843    -.2705313    .2208218
F1_bigfishtarget |   .0604245   .1292039     0.47   0.640    -.1930306    .3138795
L2_bigfishtarget |  -.1939123   .1259489    -1.54   0.124    -.4409821    .0531576
F2_bigfishtarget |  -.1499708   .1276649    -1.17   0.240    -.4004068    .1004652
L3_bigfishtarget |  -.0574663   .1248544    -0.46   0.645     -.302389    .1874565
F3_bigfishtarget |  -.1940391   .1270878    -1.53   0.127     -.443343    .0552648
L4_bigfishtarget |   .0369707   .1232682     0.30   0.764    -.2048404    .2787818
F4_bigfishtarget |   .1830522   .1233482     1.48   0.138    -.0589159    .4250203
L5_bigfishtarget |   .0602804   .1232999     0.49   0.625     -.181593    .3021538
F5_bigfishtarget |    .120653   .1256004     0.96   0.337    -.1257332    .3670392
L6_bigfishtarget |   .0377865   .1252657     0.30   0.763     -.207943    .2835161
F6_bigfishtarget |   .0426278   .1250802     0.34   0.733     -.202738    .2879936
     bigfishdied |   .2204175   .1275617     1.73   0.084    -.0298161    .4706512
  L1_bigfishdied |   .1839827      .1282     1.44   0.151     -.067503    .4354684
  F1_bigfishdied |   .1243126   .1313178     0.95   0.344    -.1332893    .3819146
  L2_bigfishdied |   .4338751   .1290183     3.36   0.001     .1807841    .6869662
  F2_bigfishdied |   .2934845   .1303004     2.25   0.024     .0378785    .5490905
  L3_bigfishdied |   .2094777   .1280132     1.64   0.102    -.0416416    .4605971
  F3_bigfishdied |   .1838631   .1296301     1.42   0.156     -.070428    .4381542
  L4_bigfishdied |   .0193162   .1291799     0.15   0.881    -.2340918    .2727243
  F4_bigfishdied |   .0882961   .1294363     0.68   0.495    -.1656148     .342207
  L5_bigfishdied |   .0320846   .1287931     0.25   0.803    -.2205646    .2847338
  F5_bigfishdied |   .0256087   .1305364     0.20   0.844    -.2304603    .2816777
  L6_bigfishdied |   .1005588   .1313485     0.77   0.444    -.1571032    .3582208
  F6_bigfishdied |  -.0304188   .1304806    -0.23   0.816    -.2863784    .2255408
     dronestrike |  -.0298141   .0267427    -1.11   0.265    -.0822744    .0226462
  L1_dronestrike |  -.0529884   .0269445    -1.97   0.049    -.1058446   -.0001323
  F1_dronestrike |   .0194537   .0270106     0.72   0.472    -.0335322    .0724396
  L2_dronestrike |  -.0230507   .0271058    -0.85   0.395    -.0762233    .0301218
  F2_dronestrike |   .0205438    .026989     0.76   0.447    -.0323996    .0734871
  L3_dronestrike |  -.0355498   .0270803    -1.31   0.189    -.0886723    .0175728
  F3_dronestrike |   .0105227    .026914     0.39   0.696    -.0422736    .0633191
  L4_dronestrike |  -.0091286   .0264565    -0.35   0.730    -.0610275    .0427703
  F4_dronestrike |  -.0640855   .0270887    -2.37   0.018    -.1172246   -.0109464
  L5_dronestrike |  -.0150847   .0278979    -0.54   0.589    -.0698111    .0396417
  F5_dronestrike |   .0327171   .0287493     1.14   0.255    -.0236795    .0891137
  L6_dronestrike |  -.0088727   .0293011    -0.30   0.762    -.0663516    .0486063
  F6_dronestrike |    .080001   .0295021     2.71   0.007     .0221278    .1378742
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     26.273   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.23
            Prob > F =    0.0384

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.03
            Prob > F =    0.4063

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        115    1.793688    1.139642          0   3.433987

. 
. outreg2 using tables/Rigterink_Tab5, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F leads targe
> ted", e(leadFtarget), "Control mean", e(cmean)) adec (4) ///
> addtext("Group FE", "YES", "Period FE", "YES", "Leader FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01") ///
> ctitle("Alt.", "leader.", "coding", "Terr.att.")
warning: addnote ignored in appended columns
tables/Rigterink_Tab5.tex
dir : seeout

. 
. restore

. 
. 
. /*----------------------------------------------------------
> ---------------- Theoretical explanations ------------------
> ----------------------------------------------------------*/
. 
. ***************
. *** Table 6 ***
. ***************
. 
. use "dta/Rigterink_drones_replication_maindataset.dta", clear

. 
. foreach  X of varlist targetciv targetpri unclaimed firstatt infight claimed {
  2. 
.         if "`X'"=="targetciv" {
  3.                 local tablemethod = "replace"
  4.                 }
  5.         else {
  6.                 local tablemethod = "append"
  7.         }
  8.         
. 
.         reghdfe `X' *bigfishtarget *bigfishdied *dronestrike, absorb(i.groupid i.periodid) vce(,bw(12))
  9.         Fstats
 10. 
.         outreg2 using tables/Rigterink_Tab6, `tablemethod' label tex(frag)  ///
>         keep(bigfishdied L*_bigfishdied) ///
>         adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F lea
> ds targeted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
>         addtext("Group FE", "YES", "Month FE", "YES") ///
>         nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
 11. 
. }
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.65
Statistics robust to autocorrelation              Prob > F        =     0.0075
 (kernel=Bartlett bw=12)                          R-squared       =     0.8499
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8304
                                                  Within R-sq.    =     0.0583
                                                  Root MSE        =     0.4943

----------------------------------------------------------------------------------
       targetciv |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0074179   .1266683    -0.06   0.953     -.255899    .2410633
L1_bigfishtarget |  -.1007837   .1286155    -0.78   0.433    -.3530845    .1515172
F1_bigfishtarget |   .1386042   .1317777     1.05   0.293    -.1198999    .3971082
L2_bigfishtarget |  -.0789756   .1293794    -0.61   0.542    -.3327749    .1748238
F2_bigfishtarget |  -.1288644   .1312093    -0.98   0.326    -.3862534    .1285247
L3_bigfishtarget |  -.0703141   .1288246    -0.55   0.585    -.3230251    .1823969
F3_bigfishtarget |   -.174441   .1315479    -1.33   0.185    -.4324942    .0836122
L4_bigfishtarget |   .0495914   .1294376     0.38   0.702    -.2043221    .3035049
F4_bigfishtarget |   .0923005    .129413     0.71   0.476    -.1615648    .3461657
L5_bigfishtarget |   .0857152   .1294138     0.66   0.508    -.1681516    .3395821
F5_bigfishtarget |    .076908    .132375     0.58   0.561    -.1827677    .3365838
L6_bigfishtarget |   .1026815   .1331353     0.77   0.441    -.1584856    .3638486
F6_bigfishtarget |  -.0307214   .1326042    -0.23   0.817    -.2908468    .2294039
     bigfishdied |   .2986648   .1907547     1.57   0.118    -.0755326    .6728621
  L1_bigfishdied |   .2086392   .1932792     1.08   0.281    -.1705103    .5877887
  F1_bigfishdied |   .1552315   .1969626     0.79   0.431    -.2311435    .5416064
  L2_bigfishdied |   .3820239   .1912101     2.00   0.046     .0069333    .7571144
  F2_bigfishdied |   .1573508   .1953305     0.81   0.421    -.2258226    .5405242
  L3_bigfishdied |   .5381106   .1908661     2.82   0.005     .1636949    .9125263
  F3_bigfishdied |    .365095   .1954902     1.87   0.062    -.0183917    .7485816
  L4_bigfishdied |   .1193405   .1937874     0.62   0.538    -.2608058    .4994868
  F4_bigfishdied |   .3332376   .1968238     1.69   0.091    -.0528652    .7193405
  L5_bigfishdied |   .0883346   .1892906     0.47   0.641    -.2829906    .4596599
  F5_bigfishdied |   .2185215   .1931312     1.13   0.258    -.1603376    .5973805
  L6_bigfishdied |   .4206693   .1920731     2.19   0.029     .0438858    .7974528
  F6_bigfishdied |   .1102646   .1895092     0.58   0.561    -.2614893    .4820185
     dronestrike |   .0126596   .0226801     0.56   0.577    -.0318313    .0571505
  L1_dronestrike |  -.0216703   .0227092    -0.95   0.340    -.0662183    .0228777
  F1_dronestrike |   .0498699   .0229748     2.17   0.030      .004801    .0949388
  L2_dronestrike |    .011747   .0227769     0.52   0.606    -.0329337    .0564278
  F2_dronestrike |   .0374814   .0228824     1.64   0.102    -.0074063    .0823691
  L3_dronestrike |  -.0030794   .0225895    -0.14   0.892    -.0473925    .0412336
  F3_dronestrike |   .0022287   .0227879     0.10   0.922    -.0424736     .046931
  L4_dronestrike |   -.010033   .0227029    -0.44   0.659    -.0545684    .0345025
  F4_dronestrike |  -.0194059   .0233836    -0.83   0.407    -.0652768     .026465
  L5_dronestrike |  -.0001384   .0237199    -0.01   0.995    -.0466689    .0463922
  F5_dronestrike |   .0536353   .0242936     2.21   0.027     .0059794    .1012911
  L6_dronestrike |    .010898   .0259156     0.42   0.674    -.0399398    .0617358
  F6_dronestrike |   .0820948   .0261086     3.14   0.002     .0308783    .1333112
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     26.973   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.47
            Prob > F =    0.0221

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    0.74
            Prob > F =    0.6168

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   targetciv |        101     1.94414    1.175034          0   4.304065
tables/Rigterink_Tab6.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       2.81
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.7607
 (panel=groupid time=periodid)                    Adj R-squared   =     0.7294
                                                  Within R-sq.    =     0.0764
                                                  Root MSE        =     0.4224

----------------------------------------------------------------------------------
       targetpri |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0231937   .1083621    -0.21   0.831    -.2357641    .1893767
L1_bigfishtarget |  -.2374664    .110122    -2.16   0.031    -.4534892   -.0214436
F1_bigfishtarget |   .0466351   .1128265     0.41   0.679     -.174693    .2679631
L2_bigfishtarget |  -.1271807   .1108405    -1.15   0.251     -.344613    .0902515
F2_bigfishtarget |  -.0612145    .112414    -0.54   0.586    -.2817334    .1593044
L3_bigfishtarget |  -.1228246   .1103912    -1.11   0.266    -.3393753    .0937261
F3_bigfishtarget |  -.0794363   .1127347    -0.70   0.481    -.3005843    .1417116
L4_bigfishtarget |   .0713507   .1109602     0.64   0.520    -.1463162    .2890176
F4_bigfishtarget |   .0026973   .1110927     0.02   0.981    -.2152296    .2206243
L5_bigfishtarget |  -.1012205   .1104577    -0.92   0.360    -.3179018    .1154608
F5_bigfishtarget |   .0051528   .1131721     0.05   0.964    -.2168532    .2271588
L6_bigfishtarget |  -.0932567   .1134907    -0.82   0.411    -.3158877    .1293742
F6_bigfishtarget |  -.1470655   .1133208    -1.30   0.195    -.3693632    .0752322
     bigfishdied |   .4987534   .1626368     3.07   0.002     .1797141    .8177928
  L1_bigfishdied |    .096324   .1647237     0.58   0.559     -.226809    .4194571
  F1_bigfishdied |    .211063   .1677887     1.26   0.209    -.1180826    .5402087
  L2_bigfishdied |   .0390464   .1630207     0.24   0.811    -.2807459    .3588387
  F2_bigfishdied |  -.0085524   .1663088    -0.05   0.959    -.3347949    .3176902
  L3_bigfishdied |    .391266   .1627671     2.40   0.016     .0719711    .7105608
  F3_bigfishdied |   .2386456   .1664592     1.43   0.152     -.087892    .5651832
  L4_bigfishdied |    .210225    .164806     1.28   0.202    -.1130696    .5335196
  F4_bigfishdied |   .3439398   .1672405     2.06   0.040     .0158697      .67201
  L5_bigfishdied |   .2372579   .1612638     1.47   0.141     -.079088    .5536038
  F5_bigfishdied |   .0882093   .1644592     0.54   0.592    -.2344048    .4108235
  L6_bigfishdied |    .396673   .1640496     2.42   0.016     .0748622    .7184838
  F6_bigfishdied |  -.0307412   .1617674    -0.19   0.849     -.348075    .2865926
     dronestrike |   .0226734   .0197955     1.15   0.252    -.0161587    .0615056
  L1_dronestrike |  -.0087744    .019811    -0.44   0.658     -.047637    .0300883
  F1_dronestrike |   .0524053    .020072     2.61   0.009     .0130308    .0917798
  L2_dronestrike |   .0343463    .019879     1.73   0.084    -.0046497    .0733422
  F2_dronestrike |   .0467559    .020026     2.33   0.020     .0074716    .0860402
  L3_dronestrike |   .0192634   .0197429     0.98   0.329    -.0194656    .0579924
  F3_dronestrike |  -.0134563   .0199458    -0.67   0.500    -.0525833    .0256706
  L4_dronestrike |   -.052083   .0198122    -2.63   0.009    -.0909479    -.013218
  F4_dronestrike |  -.0060548   .0203879    -0.30   0.767     -.046049    .0339394
  L5_dronestrike |    .017874   .0205551     0.87   0.385    -.0224483    .0581962
  F5_dronestrike |    .071827   .0210482     3.41   0.001     .0305373    .1131166
  L6_dronestrike |   .0145905   .0221322     0.66   0.510    -.0288255    .0580064
  F6_dronestrike |   .0925724   .0223217     4.15   0.000     .0487846    .1363602
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     14.682   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    1.88
            Prob > F =    0.0803

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.41
            Prob > F =    0.2073

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   targetpri |        101    1.072004    .9444159          0   3.663562
warning: addnote ignored in appended columns
tables/Rigterink_Tab6.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.89
Statistics robust to autocorrelation              Prob > F        =     0.0008
 (kernel=Bartlett bw=12)                          R-squared       =     0.8068
 (panel=groupid time=periodid)                    Adj R-squared   =     0.7816
                                                  Within R-sq.    =     0.0706
                                                  Root MSE        =     0.4592

----------------------------------------------------------------------------------
       unclaimed |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .0974572   .1179392     0.83   0.409    -.1339003    .3288148
L1_bigfishtarget |  -.1558928   .1197182    -1.30   0.193    -.3907401    .0789546
F1_bigfishtarget |   .0517972   .1226503     0.42   0.673    -.1888019    .2923962
L2_bigfishtarget |   .0251681   .1203875     0.21   0.834    -.2109922    .2613283
F2_bigfishtarget |  -.0222556   .1220179    -0.18   0.855    -.2616142    .2171029
L3_bigfishtarget |   -.021057   .1197631    -0.18   0.860    -.2559924    .2138784
F3_bigfishtarget |  -.0701061   .1222554    -0.57   0.566    -.3099305    .1697184
L4_bigfishtarget |   .0781242   .1202503     0.65   0.516    -.1577668    .3140152
F4_bigfishtarget |   .1497664   .1200574     1.25   0.212    -.0857463    .3852791
L5_bigfishtarget |   .1742951   .1203527     1.45   0.148    -.0617968    .4103871
F5_bigfishtarget |   .1641309   .1228654     1.34   0.182    -.0768903     .405152
L6_bigfishtarget |  -.0916213   .1238875    -0.74   0.460    -.3346474    .1514047
F6_bigfishtarget |   .1144594   .1230993     0.93   0.353    -.1270204    .3559393
     bigfishdied |   .0383681    .177207     0.22   0.829    -.3092531    .3859893
  L1_bigfishdied |   .2014181   .1796616     1.12   0.262     -.151018    .5538543
  F1_bigfishdied |    .296332   .1830735     1.62   0.106    -.0627973    .6554613
  L2_bigfishdied |   .3430527   .1775807     1.93   0.054    -.0053016     .691407
  F2_bigfishdied |   .0948781   .1815685     0.52   0.601    -.2612988    .4510551
  L3_bigfishdied |   .4383341   .1773116     2.47   0.014     .0905077    .7861605
  F3_bigfishdied |   .3976556   .1817225     2.19   0.029     .0411766    .7541347
  L4_bigfishdied |   .0253987   .1803943     0.14   0.888    -.3284749    .3792723
  F4_bigfishdied |   .0818824   .1832765     0.45   0.655    -.2776451    .4414098
  L5_bigfishdied |   .0692231     .17621     0.39   0.694    -.2764423    .4148885
  F5_bigfishdied |   .0896336   .1797699     0.50   0.618    -.2630151    .4422824
  L6_bigfishdied |   .5191204   .1784303     2.91   0.004     .1690996    .8691413
  F6_bigfishdied |  -.0044082   .1760973    -0.03   0.980    -.3498524    .3410361
     dronestrike |   .0092264   .0208009     0.44   0.657     -.031578    .0500308
  L1_dronestrike |  -.0046721   .0208319    -0.22   0.823    -.0455373    .0361931
  F1_dronestrike |   .0526859   .0210611     2.50   0.012     .0113711    .0940007
  L2_dronestrike |   -.009446   .0208653    -0.45   0.651    -.0503768    .0314848
  F2_dronestrike |   .0324985    .020933     1.55   0.121     -.008565     .073562
  L3_dronestrike |  -.0115299   .0206875    -0.56   0.577    -.0521118     .029052
  F3_dronestrike |   .0190277   .0208584     0.91   0.362    -.0218896     .059945
  L4_dronestrike |   -.014308   .0208184    -0.69   0.492    -.0551468    .0265307
  F4_dronestrike |   .0050303   .0214766     0.23   0.815    -.0370997    .0471602
  L5_dronestrike |   .0080793   .0217917     0.37   0.711    -.0346688    .0508273
  F5_dronestrike |   .0558752   .0223513     2.50   0.013     .0120293    .0997211
  L6_dronestrike |   .0537077    .024084     2.23   0.026     .0064629    .1009525
  F6_dronestrike |   .0604823   .0242563     2.49   0.013     .0128996     .108065
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     19.576   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    3.24
            Prob > F =    0.0036

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.33
            Prob > F =    0.2383

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   unclaimed |        101    1.481023    1.028172          0   3.583519
warning: addnote ignored in appended columns
tables/Rigterink_Tab6.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       2.50
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.2333
 (panel=groupid time=periodid)                    Adj R-squared   =     0.1332
                                                  Within R-sq.    =     0.0633
                                                  Root MSE        =     0.1186

----------------------------------------------------------------------------------
        firstatt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .0157264   .0314539     0.50   0.617    -.0459756    .0774284
L1_bigfishtarget |   .1060095     .03188     3.33   0.001     .0434714    .1685475
F1_bigfishtarget |  -.0095317   .0322252    -0.30   0.767    -.0727468    .0536834
L2_bigfishtarget |  -.0283194   .0317281    -0.89   0.372    -.0905593    .0339205
F2_bigfishtarget |   .0005424   .0322745     0.02   0.987    -.0627696    .0638543
L3_bigfishtarget |  -.0750697   .0317242    -2.37   0.018    -.1373021   -.0128373
F3_bigfishtarget |  -.0443877     .03243    -1.37   0.171    -.1080046    .0192291
L4_bigfishtarget |  -.0361319   .0317919    -1.14   0.256     -.098497    .0262332
F4_bigfishtarget |   .0607176   .0321559     1.89   0.059    -.0023616    .1237968
L5_bigfishtarget |  -.0577568   .0305584    -1.89   0.059    -.1177022    .0021885
F5_bigfishtarget |   .0071439   .0318619     0.22   0.823    -.0553585    .0696463
L6_bigfishtarget |  -.0250248   .0312568    -0.80   0.423    -.0863403    .0362907
F6_bigfishtarget |  -.0501715   .0318405    -1.58   0.115    -.1126319    .0122889
     bigfishdied |   -.066609    .044921    -1.48   0.138    -.1547291    .0215111
  L1_bigfishdied |  -.0913931   .0447755    -2.04   0.041    -.1792277   -.0035585
  F1_bigfishdied |   .0817205   .0453809     1.80   0.072    -.0073017    .1707428
  L2_bigfishdied |  -.0663284   .0447544    -1.48   0.139    -.1541216    .0214648
  F2_bigfishdied |  -.0077103   .0453019    -0.17   0.865    -.0965775     .081157
  L3_bigfishdied |   .0898554   .0447885     2.01   0.045     .0019952    .1777156
  F3_bigfishdied |   -.054913   .0454003    -1.21   0.227    -.1439734    .0341473
  L4_bigfishdied |   .0770288   .0448281     1.72   0.086    -.0109089    .1649666
  F4_bigfishdied |   .0457464   .0453506     1.01   0.313    -.0432163    .1347091
  L5_bigfishdied |   .1437386    .044334     3.24   0.001       .05677    .2307072
  F5_bigfishdied |   -.017251   .0453447    -0.38   0.704    -.1062022    .0717002
  L6_bigfishdied |    .008211   .0457677     0.18   0.858      -.08157    .0979919
  F6_bigfishdied |  -.0286653   .0453088    -0.63   0.527     -.117546    .0602154
     dronestrike |  -.0079023   .0062869    -1.26   0.209     -.020235    .0044304
  L1_dronestrike |  -.0039671   .0062473    -0.64   0.526    -.0162222    .0082879
  F1_dronestrike |    .001711   .0063425     0.27   0.787    -.0107308    .0141528
  L2_dronestrike |   .0014359   .0062793     0.23   0.819     -.010882    .0137538
  F2_dronestrike |   -.011381   .0063464    -1.79   0.073    -.0238306    .0010685
  L3_dronestrike |    .001111   .0062789     0.18   0.860    -.0112061     .013428
  F3_dronestrike |    .019584   .0063526     3.08   0.002     .0071223    .0320458
  L4_dronestrike |  -.0069466   .0062819    -1.11   0.269    -.0192695    .0053763
  F4_dronestrike |  -.0067742   .0063835    -1.06   0.289    -.0192964    .0057481
  L5_dronestrike |  -.0136282   .0062363    -2.19   0.029    -.0258617   -.0013946
  F5_dronestrike |   .0128077   .0063256     2.02   0.043      .000399    .0252164
  L6_dronestrike |   .0028018   .0062284     0.45   0.653    -.0094162    .0150198
  F6_dronestrike |  -.0068661   .0062546    -1.10   0.272    -.0191355    .0054033
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =      1.769   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    4.12
            Prob > F =    0.0004

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.08
            Prob > F =    0.3741

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
    firstatt |        101    .0594059    .2375619          0          1
warning: addnote ignored in appended columns
tables/Rigterink_Tab6.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       4.29
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.2206
 (panel=groupid time=periodid)                    Adj R-squared   =     0.1189
                                                  Within R-sq.    =     0.1089
                                                  Root MSE        =     0.1111

----------------------------------------------------------------------------------
         infight |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .1105784   .0290978     3.80   0.000     .0534982    .1676585
L1_bigfishtarget |   .0138713   .0295052     0.47   0.638    -.0440082    .0717508
F1_bigfishtarget |  -.0972694   .0299478    -3.25   0.001    -.1560171   -.0385218
L2_bigfishtarget |  -.0001099   .0294696    -0.00   0.997    -.0579194    .0576995
F2_bigfishtarget |   .0050156   .0299621     0.17   0.867    -.0537601    .0637912
L3_bigfishtarget |   -.048764   .0294968    -1.65   0.099     -.106627    .0090989
F3_bigfishtarget |   .0590366   .0301371     1.96   0.050    -.0000824    .1181556
L4_bigfishtarget |  -.0195498    .029593    -0.66   0.509    -.0776013    .0385017
F4_bigfishtarget |    .022881   .0298535     0.77   0.444    -.0356816    .0814435
L5_bigfishtarget |  -.0391678   .0287362    -1.36   0.173    -.0955387    .0172031
F5_bigfishtarget |  -.0104351   .0298185    -0.35   0.726     -.068929    .0480588
L6_bigfishtarget |  -.0218914   .0294393    -0.74   0.457    -.0796416    .0358587
F6_bigfishtarget |   .0310034   .0298159     1.04   0.299    -.0274853    .0894922
     bigfishdied |   .0185512   .0424359     0.44   0.662    -.0646939    .1017962
  L1_bigfishdied |   -.001096    .042391    -0.03   0.979     -.084253     .082061
  F1_bigfishdied |   .2933692   .0430447     6.82   0.000     .2089298    .3778085
  L2_bigfishdied |   .0372759   .0422354     0.88   0.378    -.0455759    .1201276
  F2_bigfishdied |   .0050914   .0428502     0.12   0.905    -.0789664    .0891493
  L3_bigfishdied |   .1591994   .0422255     3.77   0.000     .0763669    .2420319
  F3_bigfishdied |   -.094111   .0429253    -2.19   0.029    -.1783162   -.0099058
  L4_bigfishdied |   .0437984   .0424015     1.03   0.302    -.0393793    .1269762
  F4_bigfishdied |   .0107174   .0429345     0.25   0.803    -.0735058    .0949406
  L5_bigfishdied |   .0225202   .0417853     0.54   0.590    -.0594486    .1044891
  F5_bigfishdied |   .0126337    .042709     0.30   0.767    -.0711471    .0964145
  L6_bigfishdied |  -.0430376   .0429854    -1.00   0.317    -.1273607    .0412855
  F6_bigfishdied |  -.0735705   .0424641    -1.73   0.083    -.1568709    .0097299
     dronestrike |  -.0041705    .005713    -0.73   0.466    -.0153776    .0070366
  L1_dronestrike |  -.0033406   .0056677    -0.59   0.556    -.0144588    .0077776
  F1_dronestrike |   .0254074   .0057547     4.42   0.000     .0141185    .0366962
  L2_dronestrike |   .0081937    .005698     1.44   0.151    -.0029839    .0193714
  F2_dronestrike |  -.0101303   .0057557    -1.76   0.079     -.021421    .0011604
  L3_dronestrike |   -.013364   .0056851    -2.35   0.019    -.0245164   -.0022117
  F3_dronestrike |   .0058319   .0057519     1.01   0.311    -.0054514    .0171152
  L4_dronestrike |   .0064171   .0056913     1.13   0.260    -.0047473    .0175814
  F4_dronestrike |   .0050038   .0057974     0.86   0.388    -.0063687    .0163763
  L5_dronestrike |   -.015351    .005711    -2.69   0.007     -.026554    -.004148
  F5_dronestrike |   .0042224   .0058033     0.73   0.467    -.0071617    .0156065
  L6_dronestrike |  -.0011701   .0058255    -0.20   0.841    -.0125978    .0102576
  F6_dronestrike |  -.0108625    .005863    -1.85   0.064    -.0223638    .0006387
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =      0.888   0.818             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.73
            Prob > F =    0.0122

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =   10.16
            Prob > F =    0.0000

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     infight |        101    .0542638    .2526372          0   1.609438
warning: addnote ignored in appended columns
tables/Rigterink_Tab6.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       2.29
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.7649
 (panel=groupid time=periodid)                    Adj R-squared   =     0.7342
                                                  Within R-sq.    =     0.0630
                                                  Root MSE        =     0.4761

----------------------------------------------------------------------------------
         claimed |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0997066   .1219402    -0.82   0.414    -.3389126    .1394995
L1_bigfishtarget |  -.1117881    .123868    -0.90   0.367    -.3547758    .1311996
F1_bigfishtarget |   .1183187   .1268473     0.93   0.351    -.1305136    .3671509
L2_bigfishtarget |  -.0274877   .1245161    -0.22   0.825    -.2717468    .2167715
F2_bigfishtarget |  -.1512428   .1263676    -1.20   0.232    -.3991339    .0966484
L3_bigfishtarget |  -.1798217   .1241094    -1.45   0.148    -.4232831    .0636396
F3_bigfishtarget |  -.1226946   .1267609    -0.97   0.333    -.3713572    .1259681
L4_bigfishtarget |    .130808    .124753     1.05   0.295     -.113916    .3755319
F4_bigfishtarget |  -.0210002   .1248957    -0.17   0.866    -.2660041    .2240036
L5_bigfishtarget |   -.197136   .1244545    -1.58   0.113    -.4412742    .0470023
F5_bigfishtarget |   -.129524   .1275673    -1.02   0.310    -.3797687    .1207206
L6_bigfishtarget |   .0989456   .1279696     0.77   0.440    -.1520882    .3499795
F6_bigfishtarget |  -.1651594    .127763    -1.29   0.196    -.4157879    .0854691
     bigfishdied |   .5516651    .183532     3.01   0.003     .1916364    .9116938
  L1_bigfishdied |   .3612569   .1858349     1.94   0.052    -.0032894    .7258031
  F1_bigfishdied |   .1222261   .1893301     0.65   0.519    -.2491765    .4936287
  L2_bigfishdied |   .2713872   .1840072     1.47   0.140    -.0895737    .6323481
  F2_bigfishdied |   .2121455   .1878327     1.13   0.259    -.1563197    .5806107
  L3_bigfishdied |   .6553003   .1837129     3.57   0.000     .2949168    1.015684
  F3_bigfishdied |   .2122402   .1880088     1.13   0.259    -.1565705     .581051
  L4_bigfishdied |   .2729223    .186172     1.47   0.143    -.0922851    .6381298
  F4_bigfishdied |   .4321009   .1890124     2.29   0.022     .0613216    .8028803
  L5_bigfishdied |   .2007126   .1819308     1.10   0.270     -.156175    .5576002
  F5_bigfishdied |   .4770005    .185628     2.57   0.010     .1128601    .8411408
  L6_bigfishdied |   .2511386    .185041     1.36   0.175    -.1118502    .6141274
  F6_bigfishdied |   .2627036   .1824306     1.44   0.150    -.0951645    .6205717
     dronestrike |   -.013569   .0221192    -0.61   0.540    -.0569594    .0298215
  L1_dronestrike |  -.0073436   .0221484    -0.33   0.740    -.0507913    .0361042
  F1_dronestrike |   .0225361   .0224216     1.01   0.315    -.0214476    .0665199
  L2_dronestrike |    .043942   .0222263     1.98   0.048     .0003415    .0875425
  F2_dronestrike |   .0434997   .0223546     1.95   0.052    -.0003527    .0873521
  L3_dronestrike |  -.0210049   .0220608    -0.95   0.341    -.0642809     .022271
  F3_dronestrike |  -.0258203    .022274    -1.16   0.247    -.0695145    .0178739
  L4_dronestrike |  -.0130943    .022149    -0.59   0.554    -.0565432    .0303546
  F4_dronestrike |  -.0562603   .0227857    -2.47   0.014    -.1009583   -.0115622
  L5_dronestrike |    .012978   .0230527     0.56   0.574    -.0322438    .0581998
  F5_dronestrike |   .0260095   .0235936     1.10   0.270    -.0202733    .0722924
  L6_dronestrike |  -.0519401   .0249409    -2.08   0.037    -.1008658   -.0030144
  F6_dronestrike |   .0656416   .0251478     2.61   0.009       .01631    .1149731
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     17.639   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.32
            Prob > F =    0.0309

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.38
            Prob > F =    0.2199

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     claimed |        101    1.229225    1.040438          0   4.077537
warning: addnote ignored in appended columns
tables/Rigterink_Tab6.tex
dir : seeout

. 
. 
. ***************
. *** Table 7 ***
. ***************
. 
. use "dta/Rigterink_drones_replication_maindataset.dta", clear

. 
. * To calculate Wald statistic for joint significant interaction effects
. 
. prog define Fstatint, eclass 
  1. {
  2. testparm L?_bigfishdied_*
  3. eret scalar lagint = r(p)
  4. testparm F?_bigfishdied_*
  5. eret scalar leadint = r(p)
  6. }
  7. 
. end

. 
. * Groups relying on strong central ties 
. 
. preserve

. 
. rename (*bigfishtarget_centraltie *bigfishdied_centraltie) (*bigfishtarget_interaction *bigfishdied_interaction)

. 
. reghdfe terratt *bigfishtarget *bigfishdied *bigfishtarget_interaction *bigfishdied_interaction *dronestrike, absorb(i.groupid i.periodid
> ) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  65,   1368) =       2.53
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8636
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8429
                                                  Within R-sq.    =     0.1440
                                                  Root MSE        =     0.4760

----------------------------------------------------------------------------------------------
                     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------------------+----------------------------------------------------------------
               bigfishtarget |   .0883946   .1602364     0.55   0.581    -.2259411    .4027303
            L1_bigfishtarget |  -.2829693   .1631697    -1.73   0.083    -.6030592    .0371206
            F1_bigfishtarget |   .2499832   .1703665     1.47   0.143    -.0842246    .5841911
            L2_bigfishtarget |   .1024376   .1646197     0.62   0.534    -.2204969    .4253721
            F2_bigfishtarget |  -.3485745   .1690152    -2.06   0.039    -.6801316   -.0170173
            L3_bigfishtarget |  -.2359791   .1650245    -1.43   0.153    -.5597076    .0877494
            F3_bigfishtarget |  -.2238025   .1701511    -1.32   0.189    -.5575879    .1099829
            L4_bigfishtarget |   .1362593    .168209     0.81   0.418    -.1937162    .4662348
            F4_bigfishtarget |   .1304939    .167485     0.78   0.436    -.1980614    .4590493
            L5_bigfishtarget |    .100877   .1619701     0.62   0.534    -.2168596    .4186137
            F5_bigfishtarget |    .189484   .1703983     1.11   0.266    -.1447863    .5237543
            L6_bigfishtarget |   .3375612    .171484     1.97   0.049     .0011611    .6739612
            F6_bigfishtarget |   .0769024     .17252     0.45   0.656    -.2615301    .4153349
                 bigfishdied |  -.1015371   .2379603    -0.43   0.670    -.5683437    .3652695
              L1_bigfishdied |   .1189557   .2433761     0.49   0.625     -.358475    .5963864
              F1_bigfishdied |  -.1944018   .2495066    -0.78   0.436    -.6838588    .2950551
              L2_bigfishdied |   -.249298   .2413134    -1.03   0.302    -.7226824    .2240864
              F2_bigfishdied |   .2339997    .248382     0.94   0.346    -.2532511    .7212506
              L3_bigfishdied |   .3928239   .2410263     1.63   0.103    -.0799973    .8656452
              F3_bigfishdied |   .1300162    .244782     0.53   0.595    -.3501725    .6102049
              L4_bigfishdied |  -.5192979    .242789    -2.14   0.033    -.9955771   -.0430187
              F4_bigfishdied |   .4487372   .2466881     1.82   0.069    -.0351908    .9326652
              L5_bigfishdied |  -.1153809   .2370709    -0.49   0.627    -.5804428     .349681
              F5_bigfishdied |  -.2177247   .2456308    -0.89   0.376    -.6995786    .2641292
              L6_bigfishdied |   -.206209   .2486132    -0.83   0.407    -.6939133    .2814954
              F6_bigfishdied |   -.296933   .2484138    -1.20   0.232    -.7842462    .1903803
   bigfishtarget_interaction |  -.4108319   .2546568    -1.61   0.107     -.910392    .0887282
L1_bigfishtarget_interaction |   .2200893   .2588603     0.85   0.395    -.2877169    .7278954
F1_bigfishtarget_interaction |  -.4666534   .2655539    -1.76   0.079    -.9875903    .0542836
L2_bigfishtarget_interaction |  -.6617159   .2595357    -2.55   0.011    -1.170847   -.1525848
F2_bigfishtarget_interaction |   .3284476   .2626904     1.25   0.211    -.1868722    .8437673
L3_bigfishtarget_interaction |   .1756479   .2593018     0.68   0.498    -.3330243    .6843202
F3_bigfishtarget_interaction |  -.0219071   .2636855    -0.08   0.934    -.5391788    .4953647
L4_bigfishtarget_interaction |  -.3035967   .2594099    -1.17   0.242    -.8124811    .2052876
F4_bigfishtarget_interaction |  -.3435937   .2592191    -1.33   0.185    -.8521037    .1649163
L5_bigfishtarget_interaction |  -.3583169   .2610638    -1.37   0.170    -.8704456    .1538118
F5_bigfishtarget_interaction |  -.6797125    .260662    -2.61   0.009    -1.191053    -.168372
L6_bigfishtarget_interaction |  -.6169106   .2659096    -2.32   0.020    -1.138545   -.0952758
F6_bigfishtarget_interaction |  -.2767896   .2595272    -1.07   0.286    -.7859041    .2323248
     bigfishdied_interaction |   1.247328   .3926711     3.18   0.002     .4770257    2.017631
  L1_bigfishdied_interaction |    .568224   .4007569     1.42   0.156    -.2179407    1.354389
  F1_bigfishdied_interaction |   1.237061   .4058349     3.05   0.002     .4409352    2.033188
  L2_bigfishdied_interaction |   1.725648   .4017577     4.30   0.000     .9375198    2.513776
  F2_bigfishdied_interaction |    .135318   .4034682     0.34   0.737    -.6561655    .9268015
  L3_bigfishdied_interaction |    .583003   .4050214     1.44   0.150    -.2115273    1.377533
  F3_bigfishdied_interaction |   .7291374   .4083279     1.79   0.074    -.0718792    1.530154
  L4_bigfishdied_interaction |   1.765481   .4072601     4.34   0.000     .9665591    2.564403
  F4_bigfishdied_interaction |   .0200925   .4194097     0.05   0.962    -.8026633    .8428484
  L5_bigfishdied_interaction |   .8894314   .4001643     2.22   0.026     .1044292    1.674434
  F5_bigfishdied_interaction |    1.48591   .4048778     3.67   0.000     .6916618    2.280159
  L6_bigfishdied_interaction |   1.778507    .396988     4.48   0.000     .9997355    2.557278
  F6_bigfishdied_interaction |   1.173037   .3917882     2.99   0.003     .4044663    1.941608
                 dronestrike |    .011233   .0224074     0.50   0.616    -.0327236    .0551896
              L1_dronestrike |   -.028159   .0223695    -1.26   0.208    -.0720413    .0157233
              F1_dronestrike |   .0274311   .0228142     1.20   0.229    -.0173235    .0721857
              L2_dronestrike |   .0114372   .0224789     0.51   0.611    -.0326597    .0555341
              F2_dronestrike |   .0384439   .0226863     1.69   0.090    -.0060598    .0829475
              L3_dronestrike |  -.0001531    .022489    -0.01   0.995    -.0442698    .0439635
              F3_dronestrike |  -.0104112   .0227909    -0.46   0.648    -.0551201    .0342978
              L4_dronestrike |   .0087705    .022516     0.39   0.697    -.0353991    .0529402
              F4_dronestrike |  -.0258971    .023295    -1.11   0.266    -.0715949    .0198007
              L5_dronestrike |  -.0075651    .023576    -0.32   0.748    -.0538141    .0386839
              F5_dronestrike |   .0637091   .0242507     2.63   0.009     .0161366    .1112816
              L6_dronestrike |   .0265041   .0255793     1.04   0.300    -.0236747    .0766829
              F6_dronestrike |   .0804378   .0259184     3.10   0.002     .0295936     .131282
-----------------------------+----------------------------------------------------------------
                    Absorbed |      F(143, 1368) =     26.959   0.000             (Joint test)
----------------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------------+
                 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------------+-------------------------------------------------|
                     groupid |           13              13              0     | 
                    periodid |          131             132              1     | 
-------------------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1368) =    2.40
            Prob > F =    0.0261

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1368) =    1.78
            Prob > F =    0.0991

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. Fstatint

 ( 1)  L1_bigfishdied_interaction = 0
 ( 2)  L2_bigfishdied_interaction = 0
 ( 3)  L3_bigfishdied_interaction = 0
 ( 4)  L4_bigfishdied_interaction = 0
 ( 5)  L5_bigfishdied_interaction = 0
 ( 6)  L6_bigfishdied_interaction = 0

       F(  6,  1368) =    6.91
            Prob > F =    0.0000

 ( 1)  F1_bigfishdied_interaction = 0
 ( 2)  F2_bigfishdied_interaction = 0
 ( 3)  F3_bigfishdied_interaction = 0
 ( 4)  F4_bigfishdied_interaction = 0
 ( 5)  F5_bigfishdied_interaction = 0
 ( 6)  F6_bigfishdied_interaction = 0

       F(  6,  1368) =    5.28
            Prob > F =    0.0000

. 
. outreg2 using tables/Rigterink_Tab7, replace label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied bigfishdied_* L?_bigfishdied_*) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags inter. ", e(lagint), "Prob $>$ F leads inter.", e
> (leadint), "Control mean", e(cmean)) adec(4) ///
> addtext("Interaction variable", "central control", "Group FE", "YES", "Period FE", "YES") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
tables/Rigterink_Tab7.tex
dir : seeout

. 
. restore 

. 
. * Integrated groups 
. 
. preserve

. 
. rename (*bigfishtarget_integ *bigfishdied_integ) (*bigfishtarget_interaction *bigfishdied_interaction)

. 
. reghdfe terratt *bigfishtarget *bigfishdied *bigfishtarget_interaction *bigfishdied_interaction *dronestrike, absorb(i.groupid i.periodid
> ) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  65,   1368) =       1.39
Statistics robust to autocorrelation              Prob > F        =     0.0249
 (kernel=Bartlett bw=12)                          R-squared       =     0.8544
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8322
                                                  Within R-sq.    =     0.0861
                                                  Root MSE        =     0.4919

----------------------------------------------------------------------------------------------
                     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------------------+----------------------------------------------------------------
               bigfishtarget |  -.0149377   .1306453    -0.11   0.909    -.2712245    .2413491
            L1_bigfishtarget |  -.0671047   .1324898    -0.51   0.613    -.3270098    .1928005
            F1_bigfishtarget |   .1583131   .1360491     1.16   0.245    -.1085744    .4252005
            L2_bigfishtarget |  -.0221697   .1335566    -0.17   0.868    -.2841676    .2398281
            F2_bigfishtarget |  -.1489573    .136044    -1.09   0.274    -.4158348    .1179202
            L3_bigfishtarget |  -.0309413     .13319    -0.23   0.816      -.29222    .2303374
            F3_bigfishtarget |  -.2556044   .1366248    -1.87   0.062    -.5236213    .0124125
            L4_bigfishtarget |   .0866527   .1339939     0.65   0.518    -.1762031    .3495085
            F4_bigfishtarget |   .0602547   .1336987     0.45   0.652    -.2020219    .3225314
            L5_bigfishtarget |    .125798     .13356     0.94   0.346    -.1362066    .3878025
            F5_bigfishtarget |   .0398745   .1370307     0.29   0.771    -.2289385    .3086875
            L6_bigfishtarget |   .1622867   .1380342     1.18   0.240    -.1084949    .4330683
            F6_bigfishtarget |  -.0636739   .1374533    -0.46   0.643    -.3333159    .2059681
                 bigfishdied |   .3120997    .196688     1.59   0.113    -.0737432    .6979425
              L1_bigfishdied |   .1661331   .1989933     0.83   0.404    -.2242321    .5564983
              F1_bigfishdied |   .1398429   .2033157     0.69   0.492    -.2590014    .5386871
              L2_bigfishdied |    .308707   .1974656     1.56   0.118    -.0786611    .6960751
              F2_bigfishdied |   .1076522   .2017098     0.53   0.594     -.288042    .5033463
              L3_bigfishdied |    .448494   .1975818     2.27   0.023     .0608978    .8360901
              F3_bigfishdied |   .3569207   .2024627     1.76   0.078    -.0402504    .7540917
              L4_bigfishdied |  -.0062084   .2006925    -0.03   0.975    -.3999067    .3874899
              F4_bigfishdied |   .3673916   .2039095     1.80   0.072    -.0326176    .7674007
              L5_bigfishdied |  -.0273126   .1959316    -0.14   0.889    -.4116716    .3570464
              F5_bigfishdied |   .2385069   .2000499     1.19   0.233    -.1539308    .6309446
              L6_bigfishdied |   .2617477   .1994491     1.31   0.190    -.1295114    .6530069
              F6_bigfishdied |   .0710471   .1961065     0.36   0.717     -.313655    .4557491
   bigfishtarget_interaction |  -.2314187   .5444789    -0.43   0.671    -1.299523    .8366853
L1_bigfishtarget_interaction |  -.6864427   .5436046    -1.26   0.207    -1.752832    .3799462
F1_bigfishtarget_interaction |  -.2970825   .5419273    -0.55   0.584    -1.360181    .7660161
L2_bigfishtarget_interaction |  -1.077925    .546564    -1.97   0.049     -2.15012   -.0057309
F2_bigfishtarget_interaction |  -.0433999    .540606    -0.08   0.936    -1.103906    1.017107
L3_bigfishtarget_interaction |  -.7270105   .5451055    -1.33   0.183    -1.796344    .3423228
F3_bigfishtarget_interaction |   .6354665   .5403989     1.18   0.240    -.4246339    1.695567
L4_bigfishtarget_interaction |  -.5203493   .5458372    -0.95   0.341    -1.591118    .5504194
F4_bigfishtarget_interaction |   .1130311   .5369736     0.21   0.833    -.9403499    1.166412
L5_bigfishtarget_interaction |  -.5789418   .5415126    -1.07   0.285    -1.641227    .4833433
F5_bigfishtarget_interaction |   .1159706   .5375156     0.22   0.829    -.9384735    1.170415
L6_bigfishtarget_interaction |  -.6930877   .5454968    -1.27   0.204    -1.763189    .3770132
F6_bigfishtarget_interaction |  -.4031969   .5361031    -0.75   0.452     -1.45487    .6484764
     bigfishdied_interaction |   .3806302   .7538375     0.50   0.614    -1.098173    1.859433
  L1_bigfishdied_interaction |   .8829298   .7543541     1.17   0.242    -.5968864    2.362746
  F1_bigfishdied_interaction |   .4898399    .755061     0.65   0.517    -.9913629    1.971043
  L2_bigfishdied_interaction |   1.651483   .7583436     2.18   0.030     .1638412    3.139126
  F2_bigfishdied_interaction |   .9322561    .755054     1.23   0.217     -.548933    2.413445
  L3_bigfishdied_interaction |   1.449073   .7587983     1.91   0.056    -.0394614    2.937607
  F3_bigfishdied_interaction |   .4584824   .7558483     0.61   0.544    -1.024265     1.94123
  L4_bigfishdied_interaction |   1.747067   .7593043     2.30   0.022     .2575398    3.236593
  F4_bigfishdied_interaction |   .1536133     .75545     0.20   0.839    -1.328353    1.635579
  L5_bigfishdied_interaction |   1.647297   .7570233     2.18   0.030     .1622447    3.132349
  F5_bigfishdied_interaction |   .2948783   .7566528     0.39   0.697    -1.189447    1.779204
  L6_bigfishdied_interaction |   1.858085   .7598573     2.45   0.015     .3674736    3.348697
  F6_bigfishdied_interaction |   1.341775   .7558045     1.78   0.076    -.1408862    2.824437
                 dronestrike |   .0180686   .0230192     0.78   0.433    -.0270882    .0632254
              L1_dronestrike |  -.0230652   .0229211    -1.01   0.314    -.0680295     .021899
              F1_dronestrike |   .0550409   .0233319     2.36   0.018     .0092708    .1008111
              L2_dronestrike |   .0094065   .0230157     0.41   0.683    -.0357433    .0545563
              F2_dronestrike |    .043876   .0234136     1.87   0.061    -.0020544    .0898064
              L3_dronestrike |  -.0006469   .0228683    -0.03   0.977    -.0455077    .0442139
              F3_dronestrike |   .0099583   .0232699     0.43   0.669    -.0356902    .0556067
              L4_dronestrike |  -.0145194   .0229137    -0.63   0.526    -.0594691    .0304304
              F4_dronestrike |   -.012599   .0238743    -0.53   0.598    -.0594333    .0342352
              L5_dronestrike |  -.0040274    .023909    -0.17   0.866    -.0509298     .042875
              F5_dronestrike |    .062641   .0246568     2.54   0.011     .0142719    .1110102
              L6_dronestrike |   .0123748   .0261278     0.47   0.636    -.0388801    .0636296
              F6_dronestrike |   .0893632    .026661     3.35   0.001     .0370623    .1416641
-----------------------------+----------------------------------------------------------------
                    Absorbed |      F(143, 1368) =     23.934   0.000             (Joint test)
----------------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------------+
                 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------------+-------------------------------------------------|
                     groupid |           13              13              0     | 
                    periodid |          131             132              1     | 
-------------------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1368) =    1.80
            Prob > F =    0.0959

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1368) =    0.83
            Prob > F =    0.5429

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. Fstatint

 ( 1)  L1_bigfishdied_interaction = 0
 ( 2)  L2_bigfishdied_interaction = 0
 ( 3)  L3_bigfishdied_interaction = 0
 ( 4)  L4_bigfishdied_interaction = 0
 ( 5)  L5_bigfishdied_interaction = 0
 ( 6)  L6_bigfishdied_interaction = 0

       F(  6,  1368) =    1.67
            Prob > F =    0.1257

 ( 1)  F1_bigfishdied_interaction = 0
 ( 2)  F2_bigfishdied_interaction = 0
 ( 3)  F3_bigfishdied_interaction = 0
 ( 4)  F4_bigfishdied_interaction = 0
 ( 5)  F5_bigfishdied_interaction = 0
 ( 6)  F6_bigfishdied_interaction = 0

       F(  6,  1368) =    0.79
            Prob > F =    0.5751

. 
. outreg2 using tables/Rigterink_Tab7, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied bigfishdied_* L?_bigfishdied_*) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags inter. ", e(lagint), "Prob $>$ F leads inter.", e
> (leadint), "Control mean", e(cmean)) adec(4) ///
> addtext("Interaction variable", "intregated", "Group FE", "YES", "Period FE", "YES") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab7.tex
dir : seeout

. 
. restore 

. 
. * Vanguard groups 
. 
. preserve

. 
. rename (*bigfishtarget_vanguard *bigfishdied_vanguard) (*bigfishtarget_interaction *bigfishdied_interaction)

. 
. reghdfe terratt *bigfishtarget *bigfishdied *bigfishtarget_interaction *bigfishdied_interaction *dronestrike, absorb(i.groupid i.periodid
> ) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  65,   1368) =       2.30
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8598
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8385
                                                  Within R-sq.    =     0.1201
                                                  Root MSE        =     0.4826

----------------------------------------------------------------------------------------------
                     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------------------+----------------------------------------------------------------
               bigfishtarget |    .094386   .1547079     0.61   0.542    -.2091046    .3978765
            L1_bigfishtarget |  -.3039959   .1572165    -1.93   0.053    -.6124075    .0044157
            F1_bigfishtarget |   .2161739   .1630099     1.33   0.185    -.1036025    .5359503
            L2_bigfishtarget |   .0136428   .1582331     0.09   0.931    -.2967631    .3240487
            F2_bigfishtarget |  -.2814702   .1615894    -1.74   0.082      -.59846    .0355196
            L3_bigfishtarget |  -.2447209   .1580915    -1.55   0.122     -.554849    .0654071
            F3_bigfishtarget |  -.1123683   .1624396    -0.69   0.489    -.4310259    .2062893
            L4_bigfishtarget |   .0748967   .1603894     0.47   0.641    -.2397391    .3895326
            F4_bigfishtarget |   .1728597    .160525     1.08   0.282    -.1420421    .4877615
            L5_bigfishtarget |   .0916397    .155818     0.59   0.557    -.2140284    .3973077
            F5_bigfishtarget |   .2331044     .16303     1.43   0.153    -.0867115    .5529202
            L6_bigfishtarget |   .2521884   .1634921     1.54   0.123     -.068534    .5729107
            F6_bigfishtarget |   .1007841   .1647324     0.61   0.541    -.2223714    .4239396
                 bigfishdied |  -.1094737   .2288462    -0.48   0.632    -.5584013    .3394538
              L1_bigfishdied |   .1975162   .2341109     0.84   0.399     -.261739    .6567714
              F1_bigfishdied |   -.146625     .23883    -0.61   0.539    -.6151378    .3218878
              L2_bigfishdied |  -.0485145   .2313595    -0.21   0.834    -.5023723    .4053434
              F2_bigfishdied |   .2762114   .2375269     1.16   0.245     -.189745    .7421678
              L3_bigfishdied |     .50825   .2299798     2.21   0.027     .0570988    .9594012
              F3_bigfishdied |   .1734997   .2335981     0.74   0.458    -.2847497     .631749
              L4_bigfishdied |  -.2806794   .2314609    -1.21   0.225    -.7347361    .1733773
              F4_bigfishdied |   .3634613   .2351979     1.55   0.122    -.0979263    .8248488
              L5_bigfishdied |   .0262074   .2265487     0.12   0.908    -.4182131    .4706279
              F5_bigfishdied |  -.1868989   .2342162    -0.80   0.425    -.6463608     .272563
              L6_bigfishdied |    .056396   .2357092     0.24   0.811    -.4059946    .5187865
              F6_bigfishdied |  -.1711942   .2368474    -0.72   0.470    -.6358177    .2934294
   bigfishtarget_interaction |  -.4735957   .2717696    -1.74   0.082    -1.006726    .0595346
L1_bigfishtarget_interaction |   .2998157   .2766757     1.08   0.279    -.2429389    .8425703
F1_bigfishtarget_interaction |  -.3727793   .2832976    -1.32   0.188    -.9285241    .1829654
L2_bigfishtarget_interaction |  -.5454522   .2785729    -1.96   0.050    -1.091929    .0010242
F2_bigfishtarget_interaction |   .3821606   .2809011     1.36   0.174     -.168883    .9332042
L3_bigfishtarget_interaction |   .2671886   .2772198     0.96   0.335    -.2766335    .8110107
F3_bigfishtarget_interaction |  -.2479814    .281599    -0.88   0.379    -.8003941    .3044313
L4_bigfishtarget_interaction |   -.175381   .2763581    -0.63   0.526    -.7175127    .3667506
F4_bigfishtarget_interaction |   -.475392   .2762686    -1.72   0.086    -1.017348    .0665641
L5_bigfishtarget_interaction |  -.2897258   .2818811    -1.03   0.304    -.8426917    .2632402
F5_bigfishtarget_interaction |  -.8404349   .2743009    -3.06   0.002    -1.378531   -.3023389
L6_bigfishtarget_interaction |  -.3671295   .2848625    -1.29   0.198    -.9259441    .1916851
F6_bigfishtarget_interaction |  -.2416567   .2725493    -0.89   0.375    -.7763166    .2930032
     bigfishdied_interaction |   1.423236   .4265893     3.34   0.001     .5863956    2.260076
  L1_bigfishdied_interaction |   .5161911   .4368258     1.18   0.238    -.3407298    1.373112
  F1_bigfishdied_interaction |   1.239143    .440406     2.81   0.005     .3751984    2.103087
  L2_bigfishdied_interaction |   1.542809    .442314     3.49   0.001     .6751216    2.410496
  F2_bigfishdied_interaction |   -.179007   .4415375    -0.41   0.685    -1.045171     .687157
  L3_bigfishdied_interaction |   .2853606   .4476589     0.64   0.524    -.5928116    1.163533
  F3_bigfishdied_interaction |   .6053427   .4465283     1.36   0.175    -.2706118    1.481297
  L4_bigfishdied_interaction |   1.378023   .4484206     3.07   0.002     .4983563    2.257689
  F4_bigfishdied_interaction |   .0744454   .4652231     0.16   0.873    -.8381826    .9870735
  L5_bigfishdied_interaction |   .4410857   .4405682     1.00   0.317    -.4231768    1.305348
  F5_bigfishdied_interaction |   1.708848   .4392985     3.89   0.000     .8470759    2.570619
  L6_bigfishdied_interaction |   1.302056   .4232463     3.08   0.002     .4717742    2.132338
  F6_bigfishdied_interaction |   1.030057   .4184071     2.46   0.014     .2092684    1.850846
                 dronestrike |   .0086367   .0226865     0.38   0.703    -.0358675    .0531409
              L1_dronestrike |  -.0244827   .0225256    -1.09   0.277    -.0686712    .0197058
              F1_dronestrike |   .0272573   .0230402     1.18   0.237    -.0179406    .0724553
              L2_dronestrike |   .0151389   .0225731     0.67   0.503    -.0291427    .0594204
              F2_dronestrike |   .0313752   .0229692     1.37   0.172    -.0136835     .076434
              L3_dronestrike |  -.0070583   .0225803    -0.31   0.755    -.0513542    .0372375
              F3_dronestrike |  -.0075138   .0230176    -0.33   0.744    -.0526674    .0376398
              L4_dronestrike |    .008868   .0227223     0.39   0.696    -.0357063    .0534424
              F4_dronestrike |  -.0302909   .0235604    -1.29   0.199    -.0765093    .0159274
              L5_dronestrike |  -.0016898   .0237998    -0.07   0.943    -.0483779    .0449982
              F5_dronestrike |   .0600021   .0245322     2.45   0.015     .0118772    .1081269
              L6_dronestrike |   .0255271   .0259358     0.98   0.325    -.0253511    .0764054
              F6_dronestrike |   .0672778   .0261099     2.58   0.010      .016058    .1184977
-----------------------------+----------------------------------------------------------------
                    Absorbed |      F(143, 1368) =     27.667   0.000             (Joint test)
----------------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------------+
                 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------------+-------------------------------------------------|
                     groupid |           13              13              0     | 
                    periodid |          131             132              1     | 
-------------------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1368) =    2.00
            Prob > F =    0.0632

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1368) =    1.39
            Prob > F =    0.2143

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. Fstatint

 ( 1)  L1_bigfishdied_interaction = 0
 ( 2)  L2_bigfishdied_interaction = 0
 ( 3)  L3_bigfishdied_interaction = 0
 ( 4)  L4_bigfishdied_interaction = 0
 ( 5)  L5_bigfishdied_interaction = 0
 ( 6)  L6_bigfishdied_interaction = 0

       F(  6,  1368) =    4.56
            Prob > F =    0.0001

 ( 1)  F1_bigfishdied_interaction = 0
 ( 2)  F2_bigfishdied_interaction = 0
 ( 3)  F3_bigfishdied_interaction = 0
 ( 4)  F4_bigfishdied_interaction = 0
 ( 5)  F5_bigfishdied_interaction = 0
 ( 6)  F6_bigfishdied_interaction = 0

       F(  6,  1368) =    5.69
            Prob > F =    0.0000

. 
. outreg2 using tables/Rigterink_Tab7, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied bigfishdied_* L?_bigfishdied_*) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags inter. ", e(lagint), "Prob $>$ F leads inter.", e
> (leadint), "Control mean", e(cmean)) adec(4) ///
> addtext("Interaction variable", "vanguard", "Group FE", "YES", "Period FE", "YES") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab7.tex
dir : seeout

. 
. restore

. 
. * Differential effect each strike up to first hit
. 
. preserve

. 
. rename (*bigfishtarget_firsthitmiss *bigfishdied_firsthitmiss) (*bigfishtarget_interaction *bigfishdied_interaction)

. 
. reghdfe terratt *bigfishtarget *bigfishdied *bigfishtarget_interaction *bigfishdied_interaction *dronestrike, absorb(i.groupid i.periodid
> ) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  65,   1368) =       1.58
Statistics robust to autocorrelation              Prob > F        =     0.0028
 (kernel=Bartlett bw=12)                          R-squared       =     0.8546
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8325
                                                  Within R-sq.    =     0.0875
                                                  Root MSE        =     0.4915

----------------------------------------------------------------------------------------------
                     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------------------+----------------------------------------------------------------
               bigfishtarget |   .1072739   .1996081     0.54   0.591    -.2842972     .498845
            L1_bigfishtarget |   .0413463   .2009212     0.21   0.837    -.3528007    .4354933
            F1_bigfishtarget |   .1643333   .2076429     0.79   0.429    -.2429996    .5716662
            L2_bigfishtarget |   .2754327    .190778     1.44   0.149    -.0988164    .6496817
            F2_bigfishtarget |   .0707277   .2057299     0.34   0.731    -.3328526     .474308
            L3_bigfishtarget |   .0861798   .1894574     0.45   0.649    -.2854788    .4578384
            F3_bigfishtarget |   .0651461   .2062531     0.32   0.752    -.3394606    .4697528
            L4_bigfishtarget |   .2389157   .1954373     1.22   0.222    -.1444736    .6223049
            F4_bigfishtarget |   .1700473   .2067842     0.82   0.411    -.2356013    .5756959
            L5_bigfishtarget |   .1316641   .1998261     0.66   0.510    -.2603347    .5236628
            F5_bigfishtarget |   .5332461   .2068061     2.58   0.010     .1275547    .9389376
            L6_bigfishtarget |  -.1040659   .2173742    -0.48   0.632    -.5304888    .3223571
            F6_bigfishtarget |  -.1173513   .2013997    -0.58   0.560     -.512437    .2777343
                 bigfishdied |    .345924   .2696322     1.28   0.200    -.1830134    .8748613
              L1_bigfishdied |   .1891356   .2675699     0.71   0.480    -.3357561    .7140273
              F1_bigfishdied |   .1278621   .2817905     0.45   0.650    -.4249261    .6806503
              L2_bigfishdied |    .000654    .262623     0.00   0.998    -.5145335    .5158415
              F2_bigfishdied |   .0394429   .2818464     0.14   0.889     -.513455    .5923408
              L3_bigfishdied |   .3898959   .2654943     1.47   0.142    -.1309242    .9107159
              F3_bigfishdied |   .2469672   .2853569     0.87   0.387    -.3128173    .8067518
              L4_bigfishdied |  -.1955368   .2720166    -0.72   0.472    -.7291515     .338078
              F4_bigfishdied |   .2003863   .2973618     0.67   0.501    -.3829482    .7837208
              L5_bigfishdied |  -.0166772   .2753803    -0.06   0.952    -.5568906    .5235361
              F5_bigfishdied |  -.1846645   .2910868    -0.63   0.526    -.7556894    .3863604
              L6_bigfishdied |   .5232459   .2808592     1.86   0.063    -.0277155    1.074207
              F6_bigfishdied |   .0849515   .2738091     0.31   0.756    -.4521797    .6220828
   bigfishtarget_interaction |  -.2038275   .2569229    -0.79   0.428     -.707833    .3001781
L1_bigfishtarget_interaction |  -.3813683   .2528128    -1.51   0.132    -.8773111    .1145745
F1_bigfishtarget_interaction |    -.07132    .269966    -0.26   0.792    -.6009121    .4582721
L2_bigfishtarget_interaction |  -.6811956   .2464374    -2.76   0.006    -1.164632   -.1977594
F2_bigfishtarget_interaction |  -.3172515   .2681138    -1.18   0.237    -.8432103    .2087073
L3_bigfishtarget_interaction |  -.3032956   .2461472    -1.23   0.218    -.7861626    .1795713
F3_bigfishtarget_interaction |  -.3613753   .2631773    -1.37   0.170    -.8776501    .1548996
L4_bigfishtarget_interaction |  -.3539317   .2514902    -1.41   0.160    -.8472799    .1394165
F4_bigfishtarget_interaction |  -.0075974   .2636508    -0.03   0.977     -.524801    .5096063
L5_bigfishtarget_interaction |  -.0304028      .2481    -0.12   0.902    -.5171005     .456295
F5_bigfishtarget_interaction |  -.6174162   .2655376    -2.33   0.020    -1.138321   -.0965111
L6_bigfishtarget_interaction |   .2952224   .2724003     1.08   0.279    -.2391452    .8295899
F6_bigfishtarget_interaction |     .29147   .2664164     1.09   0.274    -.2311589    .8140989
     bigfishdied_interaction |  -.4859256   .4032296    -1.21   0.228    -1.276941    .3050898
  L1_bigfishdied_interaction |   -.128045   .4007118    -0.32   0.749    -.9141211    .6580312
  F1_bigfishdied_interaction |  -.0186959   .4130789    -0.05   0.964    -.8290327    .7916409
  L2_bigfishdied_interaction |   .5125962   .4068762     1.26   0.208    -.2855727    1.310765
  F2_bigfishdied_interaction |   .1824119   .4112382     0.44   0.657     -.624314    .9891378
  L3_bigfishdied_interaction |   .0600174   .3996564     0.15   0.881    -.7239885    .8440233
  F3_bigfishdied_interaction |  -.1099391   .4072624    -0.27   0.787    -.9088655    .6889874
  L4_bigfishdied_interaction |   .4940401   .4039639     1.22   0.222    -.2984156    1.286496
  F4_bigfishdied_interaction |   .1437748   .4161776     0.35   0.730    -.6726407    .9601903
  L5_bigfishdied_interaction |   .1916759   .4082007     0.47   0.639    -.6090912     .992443
  F5_bigfishdied_interaction |   .3697129   .4139141     0.89   0.372    -.4422622    1.181688
  L6_bigfishdied_interaction |  -.1781288   .4108745    -0.43   0.665    -.9841412    .6278835
  F6_bigfishdied_interaction |  -.2842563   .4059657    -0.70   0.484    -1.080639    .5121265
                 dronestrike |   .0124077    .023117     0.54   0.592     -.032941    .0577564
              L1_dronestrike |  -.0164794   .0233387    -0.71   0.480     -.062263    .0293042
              F1_dronestrike |    .056709   .0235661     2.41   0.016     .0104795    .1029386
              L2_dronestrike |   .0118866   .0234718     0.51   0.613    -.0341581    .0579313
              F2_dronestrike |   .0297752   .0233731     1.27   0.203    -.0160758    .0756263
              L3_dronestrike |  -.0038359   .0231946    -0.17   0.869    -.0493367     .041665
              F3_dronestrike |  -.0016113   .0232919    -0.07   0.945    -.0473029    .0440804
              L4_dronestrike |  -.0140412   .0231648    -0.61   0.545    -.0594837    .0314012
              F4_dronestrike |   -.010979   .0238439    -0.46   0.645    -.0577537    .0357956
              L5_dronestrike |  -.0069449   .0242393    -0.29   0.775    -.0544951    .0406053
              F5_dronestrike |   .0479533   .0248225     1.93   0.054     -.000741    .0966475
              L6_dronestrike |   .0076623   .0265853     0.29   0.773    -.0444901    .0598146
              F6_dronestrike |    .090252    .026906     3.35   0.001     .0374705    .1430335
-----------------------------+----------------------------------------------------------------
                    Absorbed |      F(143, 1368) =     27.079   0.000             (Joint test)
----------------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------------+
                 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------------+-------------------------------------------------|
                     groupid |           13              13              0     | 
                    periodid |          131             132              1     | 
-------------------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1368) =    2.07
            Prob > F =    0.0544

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1368) =    0.57
            Prob > F =    0.7520

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. Fstatint

 ( 1)  L1_bigfishdied_interaction = 0
 ( 2)  L2_bigfishdied_interaction = 0
 ( 3)  L3_bigfishdied_interaction = 0
 ( 4)  L4_bigfishdied_interaction = 0
 ( 5)  L5_bigfishdied_interaction = 0
 ( 6)  L6_bigfishdied_interaction = 0

       F(  6,  1368) =    0.88
            Prob > F =    0.5116

 ( 1)  F1_bigfishdied_interaction = 0
 ( 2)  F2_bigfishdied_interaction = 0
 ( 3)  F3_bigfishdied_interaction = 0
 ( 4)  F4_bigfishdied_interaction = 0
 ( 5)  F5_bigfishdied_interaction = 0
 ( 6)  F6_bigfishdied_interaction = 0

       F(  6,  1368) =    0.58
            Prob > F =    0.7435

. 
. outreg2 using tables/Rigterink_Tab7, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied bigfishdied_* L?_bigfishdied_*) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags inter. ", e(lagint), "Prob $>$ F leads inter. ", 
> e(leadint), "Control mean", e(cmean)) adec(4) ///
> addtext("Interaction variable", "1st hit", "Group FE", "YES", "Period FE", "YES") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab7.tex
dir : seeout

. 
. restore 

. 
. * Leader reward
. 
. preserve 

. 
. rename (*bigfishtarget_reward *bigfishdied_reward) (*bigfishtarget_interaction *bigfishdied_interaction)

. 
. reghdfe terratt *bigfishtarget *bigfishdied *bigfishtarget_interaction *bigfishdied_interaction *dronestrike, absorb(i.groupid i.periodid
> ) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  65,   1368) =       1.86
Statistics robust to autocorrelation              Prob > F        =     0.0001
 (kernel=Bartlett bw=12)                          R-squared       =     0.8555
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8336
                                                  Within R-sq.    =     0.0933
                                                  Root MSE        =     0.4899

----------------------------------------------------------------------------------------------
                     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------------------+----------------------------------------------------------------
               bigfishtarget |   .0788629    .158398     0.50   0.619    -.2318664    .3895923
            L1_bigfishtarget |  -.2885049   .1606386    -1.80   0.073    -.6036294    .0266197
            F1_bigfishtarget |  -.1208705   .1721154    -0.70   0.483    -.4585093    .2167682
            L2_bigfishtarget |   .2268018   .1645284     1.38   0.168    -.0959535     .549557
            F2_bigfishtarget |    .013328   .1716947     0.08   0.938    -.3234855    .3501415
            L3_bigfishtarget |  -.0934088   .1591364    -0.59   0.557    -.4055866     .218769
            F3_bigfishtarget |  -.1012563   .1695784    -0.60   0.551    -.4339181    .2314055
            L4_bigfishtarget |   .0574625   .1626993     0.35   0.724    -.2617047    .3766296
            F4_bigfishtarget |   .1936096   .1690815     1.15   0.252    -.1380776    .5252967
            L5_bigfishtarget |   .0765065   .1553856     0.49   0.623    -.2283135    .3813264
            F5_bigfishtarget |   .4529737   .1661367     2.73   0.006     .1270634     .778884
            L6_bigfishtarget |   .2471268   .1698111     1.46   0.146    -.0859915    .5802451
            F6_bigfishtarget |   .0139286   .1717293     0.08   0.935    -.3229527    .3508099
                 bigfishdied |   .3424217   .2437762     1.40   0.160     -.135794    .8206374
              L1_bigfishdied |   .1407336   .2458813     0.57   0.567    -.3416117     .623079
              F1_bigfishdied |   .4317304   .2543373     1.70   0.090    -.0672031    .9306638
              L2_bigfishdied |  -.0861702   .2456482    -0.35   0.726    -.5680582    .3957179
              F2_bigfishdied |  -.2449927   .2530783    -0.97   0.333    -.7414563    .2514708
              L3_bigfishdied |   .4767605    .243847     1.96   0.051     -.001594    .9551151
              F3_bigfishdied |  -.1205906   .2512355    -0.48   0.631    -.6134393     .372258
              L4_bigfishdied |   .0807835   .2509744     0.32   0.748     -.411553    .5731199
              F4_bigfishdied |   .1896694   .2554147     0.74   0.458    -.3113775    .6907164
              L5_bigfishdied |   .2768349   .2519234     1.10   0.272    -.2173631    .7710329
              F5_bigfishdied |  -.1157011   .2539447    -0.46   0.649    -.6138643    .3824621
              L6_bigfishdied |   .2708674   .2676855     1.01   0.312    -.2542511    .7959859
              F6_bigfishdied |  -.0604724   .2512876    -0.24   0.810    -.5534232    .4324784
   bigfishtarget_interaction |  -.3538271    .266159    -1.33   0.184    -.8759511    .1682969
L1_bigfishtarget_interaction |   .1685877   .2716475     0.62   0.535    -.3643031    .7014784
F1_bigfishtarget_interaction |   .3808413   .2795698     1.36   0.173    -.1675907    .9292734
L2_bigfishtarget_interaction |   -.868006   .2777295    -3.13   0.002    -1.412828   -.3231841
F2_bigfishtarget_interaction |  -.2990522   .2833954    -1.06   0.291    -.8549889    .2568845
L3_bigfishtarget_interaction |  -.0681294   .2684093    -0.25   0.800    -.5946678    .4584091
F3_bigfishtarget_interaction |  -.2454921     .27662    -0.89   0.375    -.7881374    .2971533
L4_bigfishtarget_interaction |  -.0505477   .2723928    -0.19   0.853    -.5849006    .4838052
F4_bigfishtarget_interaction |  -.4405368   .2754712    -1.60   0.110    -.9809284    .0998549
L5_bigfishtarget_interaction |  -.0990212   .2628687    -0.38   0.706    -.6146905    .4166482
F5_bigfishtarget_interaction |  -.9724307   .2640282    -3.68   0.000    -1.490375   -.4544867
L6_bigfishtarget_interaction |  -.3622652   .2723219    -1.33   0.184     -.896479    .1719486
F6_bigfishtarget_interaction |  -.1649599    .270761    -0.61   0.542    -.6961116    .3661919
     bigfishdied_interaction |   .1851676   .4062141     0.46   0.649    -.6117025    .9820377
  L1_bigfishdied_interaction |   .5994075   .4128528     1.45   0.147    -.2104857    1.409301
  F1_bigfishdied_interaction |  -.2602194   .4157271    -0.63   0.531    -1.075751    .5553123
  L2_bigfishdied_interaction |   1.050946   .4217058     2.49   0.013     .2236859    1.878206
  F2_bigfishdied_interaction |   .8618497   .4190206     2.06   0.040     .0398572    1.683842
  L3_bigfishdied_interaction |   .2480146   .4162756     0.60   0.551     -.568593    1.064622
  F3_bigfishdied_interaction |   1.039674   .4168084     2.49   0.013     .2220208    1.857327
  L4_bigfishdied_interaction |   .1204762   .4199236     0.29   0.774    -.7032878    .9442402
  F4_bigfishdied_interaction |     .56993   .4228647     1.35   0.178    -.2596035    1.399463
  L5_bigfishdied_interaction |   -.227973   .4165657    -0.55   0.584     -1.04515    .5892038
  F5_bigfishdied_interaction |     .98612   .4143037     2.38   0.017     .1733806     1.79886
  L6_bigfishdied_interaction |   .4549289   .4115799     1.11   0.269    -.3524673    1.262325
  F6_bigfishdied_interaction |   .3969744   .4012678     0.99   0.323    -.3901925    1.184141
                 dronestrike |   .0174261   .0230889     0.75   0.451    -.0278674    .0627196
              L1_dronestrike |  -.0149614   .0232467    -0.64   0.520    -.0605644    .0306416
              F1_dronestrike |   .0574148   .0237253     2.42   0.016     .0108729    .1039568
              L2_dronestrike |   .0099449   .0233108     0.43   0.670    -.0357839    .0556738
              F2_dronestrike |   .0254091   .0238535     1.07   0.287    -.0213843    .0722025
              L3_dronestrike |  -.0067587   .0231176    -0.29   0.770    -.0521084    .0385911
              F3_dronestrike |   .0102241   .0235721     0.43   0.665    -.0360173    .0564656
              L4_dronestrike |  -.0079238   .0233128    -0.34   0.734    -.0536566     .037809
              F4_dronestrike |  -.0071632   .0241853    -0.30   0.767    -.0546076    .0402812
              L5_dronestrike |  -.0016695   .0241609    -0.07   0.945    -.0490659     .045727
              F5_dronestrike |   .0598727   .0254034     2.36   0.019     .0100388    .1097065
              L6_dronestrike |   .0081689   .0265564     0.31   0.758    -.0439268    .0602645
              F6_dronestrike |   .0899645   .0268927     3.35   0.001      .037209    .1427199
-----------------------------+----------------------------------------------------------------
                    Absorbed |      F(143, 1368) =     27.332   0.000             (Joint test)
----------------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------------+
                 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------------+-------------------------------------------------|
                     groupid |           13              13              0     | 
                    periodid |          131             132              1     | 
-------------------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1368) =    1.20
            Prob > F =    0.3061

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1368) =    1.64
            Prob > F =    0.1320

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. Fstatint

 ( 1)  L1_bigfishdied_interaction = 0
 ( 2)  L2_bigfishdied_interaction = 0
 ( 3)  L3_bigfishdied_interaction = 0
 ( 4)  L4_bigfishdied_interaction = 0
 ( 5)  L5_bigfishdied_interaction = 0
 ( 6)  L6_bigfishdied_interaction = 0

       F(  6,  1368) =    1.72
            Prob > F =    0.1120

 ( 1)  F1_bigfishdied_interaction = 0
 ( 2)  F2_bigfishdied_interaction = 0
 ( 3)  F3_bigfishdied_interaction = 0
 ( 4)  F4_bigfishdied_interaction = 0
 ( 5)  F5_bigfishdied_interaction = 0
 ( 6)  F6_bigfishdied_interaction = 0

       F(  6,  1368) =    2.66
            Prob > F =    0.0143

. 
. outreg2 using tables/Rigterink_Tab7, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied bigfishdied_* L?_bigfishdied_*) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags inter. ", e(lagint), "Prob $>$ F leads inter.", e
> (leadint), "Control mean", e(cmean)) adec(4) ///
> addtext("Interaction variable", "reward", "Group FE", "YES", "Period FE", "YES") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab7.tex
dir : seeout

. 
. restore 

. 
. * Position in organisation 
. 
. preserve

. 
. rename (*bigfishtarget_firstincom *bigfishdied_firstincom) (*bigfishtarget_interaction *bigfishdied_interaction)

. 
. reghdfe terratt *bigfishtarget *bigfishdied *bigfishtarget_interaction *bigfishdied_interaction *dronestrike, absorb(i.groupid i.periodid
> ) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  65,   1368) =       1.69
Statistics robust to autocorrelation              Prob > F        =     0.0007
 (kernel=Bartlett bw=12)                          R-squared       =     0.8559
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8340
                                                  Within R-sq.    =     0.0958
                                                  Root MSE        =     0.4892

----------------------------------------------------------------------------------------------
                     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------------------+----------------------------------------------------------------
               bigfishtarget |   .0589968   .1546438     0.38   0.703    -.2443679    .3623615
            L1_bigfishtarget |  -.0940696    .156588    -0.60   0.548    -.4012481     .213109
            F1_bigfishtarget |     .39643   .1558619     2.54   0.011     .0906758    .7021842
            L2_bigfishtarget |   .0201507   .1531772     0.13   0.895     -.280337    .3206383
            F2_bigfishtarget |   .1387442   .1560823     0.89   0.374    -.1674424    .4449308
            L3_bigfishtarget |   .1878574   .1516768     1.24   0.216    -.1096869    .4854018
            F3_bigfishtarget |  -.0336323   .1554616    -0.22   0.829    -.3386012    .2713367
            L4_bigfishtarget |   .0732586   .1542863     0.47   0.635    -.2294047     .375922
            F4_bigfishtarget |    .099897   .1548074     0.65   0.519    -.2037886    .4035827
            L5_bigfishtarget |   .1008297   .1513398     0.67   0.505    -.1960534    .3977129
            F5_bigfishtarget |   .2882747    .157062     1.84   0.067    -.0198338    .5963831
            L6_bigfishtarget |   .0922175    .163926     0.56   0.574    -.2293561    .4137911
            F6_bigfishtarget |  -.0406178   .1608028    -0.25   0.801    -.3560646    .2748291
                 bigfishdied |   .2421938   .2180858     1.11   0.267    -.1856251    .6700127
              L1_bigfishdied |   .1176587   .2199431     0.53   0.593    -.3138035     .549121
              F1_bigfishdied |  -.0100135   .2197493    -0.05   0.964    -.4410956    .4210685
              L2_bigfishdied |   .0734159   .2154461     0.34   0.733    -.3492247    .4960564
              F2_bigfishdied |  -.2068234   .2167334    -0.95   0.340    -.6319893    .2183425
              L3_bigfishdied |    .297527   .2171182     1.37   0.171    -.1283937    .7234478
              F3_bigfishdied |   .1005945   .2190689     0.46   0.646    -.3291528    .5303418
              L4_bigfishdied |   .0874021    .221697     0.39   0.693    -.3475009    .5223051
              F4_bigfishdied |   .2999363   .2226677     1.35   0.178    -.1368709    .7367435
              L5_bigfishdied |  -.0112155   .2185888    -0.05   0.959    -.4400209      .41759
              F5_bigfishdied |  -.0398701   .2207182    -0.18   0.857    -.4728528    .3931126
              L6_bigfishdied |   .4089455   .2258321     1.81   0.070    -.0340693    .8519603
              F6_bigfishdied |   .0133069   .2164044     0.06   0.951    -.4112135    .4378274
   bigfishtarget_interaction |  -.4780183   .2832874    -1.69   0.092    -1.033743    .0777065
L1_bigfishtarget_interaction |  -.1574024   .2842796    -0.55   0.580    -.7150735    .4002687
F1_bigfishtarget_interaction |  -.8334062   .3048527    -2.73   0.006    -1.431436   -.2353767
L2_bigfishtarget_interaction |  -.4371206   .2749727    -1.59   0.112    -.9765345    .1022932
F2_bigfishtarget_interaction |  -.8818341   .3058169    -2.88   0.004    -1.481755   -.2819132
L3_bigfishtarget_interaction |  -.8490327   .2751338    -3.09   0.002    -1.388763   -.3093028
F3_bigfishtarget_interaction |   -.526194   .2876191    -1.83   0.068    -1.090416    .0380282
L4_bigfishtarget_interaction |  -.2121151    .281379    -0.75   0.451    -.7640961    .3398659
F4_bigfishtarget_interaction |  -.0844803   .2897634    -0.29   0.771    -.6529091    .4839485
L5_bigfishtarget_interaction |  -.2071814   .2824879    -0.73   0.463    -.7613377     .346975
F5_bigfishtarget_interaction |  -.6061621   .2950621    -2.05   0.040    -1.184985   -.0273388
L6_bigfishtarget_interaction |  -.1155974   .3010333    -0.38   0.701    -.7061343    .4749395
F6_bigfishtarget_interaction |   .2020744   .2963186     0.68   0.495    -.3792138    .7833626
     bigfishdied_interaction |  -.1525261   .5664165    -0.27   0.788    -1.263665     .958613
  L1_bigfishdied_interaction |   .1719568    .552422     0.31   0.756    -.9117291    1.255643
  F1_bigfishdied_interaction |     .46454   .5801305     0.80   0.423    -.6735018    1.602582
  L2_bigfishdied_interaction |    .982702   .5472895     1.80   0.073    -.0909155     2.05632
  F2_bigfishdied_interaction |   1.589278   .5777595     2.75   0.006     .4558872    2.722668
  L3_bigfishdied_interaction |   .2665465   .5242529     0.51   0.611    -.7618802    1.294973
  F3_bigfishdied_interaction |   .9492728   .5607214     1.69   0.091    -.1506942     2.04924
  L4_bigfishdied_interaction |  -.5754624    .524325    -1.10   0.273    -1.604031    .4531057
  F4_bigfishdied_interaction |    .488725   .5613985     0.87   0.384    -.6125702     1.59002
  L5_bigfishdied_interaction |   .2273957   .5058888     0.45   0.653    -.7650061    1.219797
  F5_bigfishdied_interaction |   1.140284   .5312672     2.15   0.032     .0980978    2.182471
  L6_bigfishdied_interaction |   .0882132   .4999959     0.18   0.860    -.8926284    1.069055
  F6_bigfishdied_interaction |   .2810233   .5249528     0.54   0.593    -.7487764    1.310823
                 dronestrike |   .0074926   .0235857     0.32   0.751    -.0387755    .0537606
              L1_dronestrike |  -.0254174   .0235977    -1.08   0.282     -.071709    .0208743
              F1_dronestrike |   .0368157   .0239281     1.54   0.124    -.0101241    .0837555
              L2_dronestrike |   .0241948   .0236828     1.02   0.307    -.0222638    .0706534
              F2_dronestrike |   .0372766   .0238669     1.56   0.119    -.0095431    .0840963
              L3_dronestrike |  -.0309448   .0233599    -1.32   0.185    -.0767699    .0148802
              F3_dronestrike |   .0014319   .0237886     0.06   0.952    -.0452342    .0480981
              L4_dronestrike |  -.0157261   .0235339    -0.67   0.504    -.0618925    .0304402
              F4_dronestrike |  -.0263528   .0244105    -1.08   0.281    -.0742389    .0215332
              L5_dronestrike |    .010243   .0246169     0.42   0.677    -.0380479    .0585339
              F5_dronestrike |   .0522161   .0251549     2.08   0.038     .0028697    .1015624
              L6_dronestrike |   .0096471   .0271294     0.36   0.722    -.0435727    .0628669
              F6_dronestrike |   .0956228   .0271534     3.52   0.000     .0423559    .1488897
-----------------------------+----------------------------------------------------------------
                    Absorbed |      F(143, 1368) =     27.603   0.000             (Joint test)
----------------------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------------------+
                 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------------------+-------------------------------------------------|
                     groupid |           13              13              0     | 
                    periodid |          131             132              1     | 
-------------------------------------------------------------------------------+

. Fstats

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1368) =    1.14
            Prob > F =    0.3373

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1368) =    0.94
            Prob > F =    0.4661

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
     terratt |        101    1.945041    1.175921          0   4.304065

. Fstatint

 ( 1)  L1_bigfishdied_interaction = 0
 ( 2)  L2_bigfishdied_interaction = 0
 ( 3)  L3_bigfishdied_interaction = 0
 ( 4)  L4_bigfishdied_interaction = 0
 ( 5)  L5_bigfishdied_interaction = 0
 ( 6)  L6_bigfishdied_interaction = 0

       F(  6,  1368) =    1.54
            Prob > F =    0.1616

 ( 1)  F1_bigfishdied_interaction = 0
 ( 2)  F2_bigfishdied_interaction = 0
 ( 3)  F3_bigfishdied_interaction = 0
 ( 4)  F4_bigfishdied_interaction = 0
 ( 5)  F5_bigfishdied_interaction = 0
 ( 6)  F6_bigfishdied_interaction = 0

       F(  6,  1368) =    2.07
            Prob > F =    0.0537

. 
. outreg2 using tables/Rigterink_Tab7, append label tex(frag)  ///
> keep(bigfishdied L*_bigfishdied bigfishdied_* L?_bigfishdied_*) ///
> adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags inter. ", e(lagint), "Prob $>$ F leads inter. ", 
> e(leadint), "Control mean", e(cmean)) adec(4) ///
> addtext("Interaction variable", "1st in comm.", "Group FE", "YES", "Period FE", "YES") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab7.tex
dir : seeout

. 
. restore

. 
. 
. ***************
. *** Table 8 ***
. ***************
. 
. use "dta/Rigterink_drones_replication_maindataset.dta", clear

. 
. foreach  X of varlist p_success meanndead targetmil killwoundus pakall afgh row  {
  2. 
.         if "`X'"=="p_success" {
  3.                 local tablemethod = "replace"
  4.                 }
  5.         else {
  6.                 local tablemethod = "append"
  7.         }
  8.         
.         
.         reghdfe `X' *bigfishtarget *bigfishdied *dronestrike, absorb(i.groupid i.periodid) vce(,bw(12))
  9.         Fstats
 10. 
.         outreg2 using tables/Rigterink_Tab8, `tablemethod' label tex(frag)  ///
>         keep(bigfishdied L*_bigfishdied) ///
>         adds("Prob $>$ F lags hit", e(lagF), "Prob $>$ F leads hit", e(leadF), "Prob $>$ F lags targeted", e(lagFtarget), "Prob $>$ F lea
> ds targeted", e(leadFtarget), "Control mean", e(cmean)) adec(4) ///
>         addtext("Group FE", "YES", "Month FE", "YES") ///
>         nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
 11. 
. }
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       0.84
Statistics robust to autocorrelation              Prob > F        =     0.7503
 (kernel=Bartlett bw=12)                          R-squared       =     0.6761
 (panel=groupid time=periodid)                    Adj R-squared   =     0.6338
                                                  Within R-sq.    =     0.0229
                                                  Root MSE        =     0.2644

----------------------------------------------------------------------------------
       p_success |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .0592382   .0687053     0.86   0.389    -.0755387    .1940152
L1_bigfishtarget |  -.0717122   .0697066    -1.03   0.304    -.2084533     .065029
F1_bigfishtarget |   .0971444   .0710876     1.37   0.172    -.0423058    .2365946
L2_bigfishtarget |  -.1171679   .0697668    -1.68   0.093     -.254027    .0196913
F2_bigfishtarget |  -.0321092   .0709409    -0.45   0.651    -.1712717    .1070532
L3_bigfishtarget |   .0352946   .0697024     0.51   0.613    -.1014382    .1720275
F3_bigfishtarget |  -.1075199   .0711754    -1.51   0.131    -.2471424    .0321027
L4_bigfishtarget |   -.089541   .0700326    -1.28   0.201    -.2269217    .0478396
F4_bigfishtarget |   .0636564   .0705535     0.90   0.367    -.0747462    .2020589
L5_bigfishtarget |   .0895292   .0686146     1.30   0.192    -.0450699    .2241283
F5_bigfishtarget |   .0605961   .0710375     0.85   0.394    -.0787558    .1999481
L6_bigfishtarget |   .0995752   .0703256     1.42   0.157    -.0383802    .2375306
F6_bigfishtarget |   .0195868   .0710648     0.28   0.783    -.1198186    .1589923
     bigfishdied |   .0343157   .1011092     0.34   0.734    -.1640269    .2326584
  L1_bigfishdied |   .0434443     .10176     0.43   0.669     -.156175    .2430635
  F1_bigfishdied |  -.0442852   .1034955    -0.43   0.669     -.247309    .1587386
  L2_bigfishdied |   .0577204   .1012013     0.57   0.569    -.1408028    .2562436
  F2_bigfishdied |   .0199828   .1028774     0.19   0.846    -.1818285    .2217941
  L3_bigfishdied |   .0032406   .1012846     0.03   0.974    -.1954461    .2019272
  F3_bigfishdied |   .0046781   .1030889     0.05   0.964    -.1975481    .2069042
  L4_bigfishdied |  -.0284406   .1016775    -0.28   0.780    -.2278981    .1710169
  F4_bigfishdied |  -.0963951   .1030433    -0.94   0.350    -.2985316    .1057415
  L5_bigfishdied |  -.1779156   .0998989    -1.78   0.075     -.373884    .0180529
  F5_bigfishdied |  -.1002576   .1020397    -0.98   0.326    -.3004255    .0999102
  L6_bigfishdied |   .0587735   .1025985     0.57   0.567    -.1424907    .2600376
  F6_bigfishdied |  -.1126321   .1011497    -1.11   0.266    -.3110541    .0857899
     dronestrike |   .0003556   .0131755     0.03   0.978    -.0254903    .0262015
  L1_dronestrike |  -.0084342   .0131781    -0.64   0.522    -.0342853     .017417
  F1_dronestrike |   .0062466   .0133444     0.47   0.640    -.0199307    .0324239
  L2_dronestrike |    .000312   .0132347     0.02   0.981    -.0256501     .026274
  F2_dronestrike |   .0151892   .0133437     1.14   0.255    -.0109867    .0413652
  L3_dronestrike |   .0039918   .0132087     0.30   0.763    -.0219193    .0299029
  F3_dronestrike |   .0155149    .013358     1.16   0.246     -.010689    .0417188
  L4_dronestrike |   .0067637   .0132126     0.51   0.609     -.019155    .0326825
  F4_dronestrike |   .0045902   .0134893     0.34   0.734    -.0218713    .0310518
  L5_dronestrike |   3.46e-06   .0134055     0.00   1.000    -.0262937    .0263006
  F5_dronestrike |   .0131857   .0136464     0.97   0.334    -.0135839    .0399554
  L6_dronestrike |  -.0079095   .0138519    -0.57   0.568    -.0350823    .0192634
  F6_dronestrike |   .0172187   .0139566     1.23   0.218    -.0101594    .0445968
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =      9.387   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    0.79
            Prob > F =    0.5758

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    0.43
            Prob > F =    0.8584

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   p_success |        101    .7581643    .3748147          0          1
tables/Rigterink_Tab8.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       0.89
Statistics robust to autocorrelation              Prob > F        =     0.6601
 (kernel=Bartlett bw=12)                          R-squared       =     0.1860
 (panel=groupid time=periodid)                    Adj R-squared   =     0.0798
                                                  Within R-sq.    =     0.0239
                                                  Root MSE        =     5.7794

----------------------------------------------------------------------------------
       meanndead |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |   .6761804   1.520111     0.44   0.657    -2.305772    3.658133
L1_bigfishtarget |  -2.208059   1.542267    -1.43   0.152    -5.233475    .8173563
F1_bigfishtarget |   .1993473   1.567596     0.13   0.899    -2.875755     3.27445
L2_bigfishtarget |   -1.64843   1.541464    -1.07   0.285    -4.672269    1.375409
F2_bigfishtarget |   .1678729    1.56921     0.11   0.915    -2.910395    3.246141
L3_bigfishtarget |   3.044588   1.542879     1.97   0.049     .0179731    6.071203
F3_bigfishtarget |  -.0635423   1.575805    -0.04   0.968    -3.154747    3.027662
L4_bigfishtarget |   -1.38164   1.548858    -0.89   0.373    -4.419985    1.656704
F4_bigfishtarget |    1.09236   1.566642     0.70   0.486    -1.980869     4.16559
L5_bigfishtarget |  -1.262459    1.49153    -0.85   0.397    -4.188344    1.663425
F5_bigfishtarget |   .0752504   1.554868     0.05   0.961    -2.974883    3.125384
L6_bigfishtarget |   1.942189   1.524435     1.27   0.203    -1.048244    4.932623
F6_bigfishtarget |   .7044156   1.553796     0.45   0.650    -2.343615    3.752446
     bigfishdied |  -.2377991   2.193821    -0.11   0.914    -4.541346    4.065748
  L1_bigfishdied |   .3135478   2.193428     0.14   0.886    -3.989228    4.616324
  F1_bigfishdied |  -.2722805   2.226639    -0.12   0.903    -4.640206    4.095645
  L2_bigfishdied |   1.292577   2.187649     0.59   0.555    -2.998863    5.584017
  F2_bigfishdied |  -1.526634   2.215211    -0.69   0.491    -5.872141    2.818873
  L3_bigfishdied |  -3.752587   2.192955    -1.71   0.087    -8.054435      .54926
  F3_bigfishdied |   .0632762   2.221214     0.03   0.977    -4.294006    4.420558
  L4_bigfishdied |   .1648633   2.188607     0.08   0.940    -4.128456    4.458182
  F4_bigfishdied |  -3.656641   2.212492    -1.65   0.099    -7.996814    .6835315
  L5_bigfishdied |  -1.716371   2.163059    -0.79   0.428    -5.959573     2.52683
  F5_bigfishdied |   1.018904    2.20981     0.46   0.645    -3.316007    5.353815
  L6_bigfishdied |  -3.004303   2.237166    -1.34   0.180    -7.392878    1.384272
  F6_bigfishdied |  -4.340601   2.206715    -1.97   0.049    -8.669441   -.0117598
     dronestrike |  -.0200236   .3040648    -0.07   0.948    -.6164975    .5764504
  L1_dronestrike |  -.1445638   .3028495    -0.48   0.633    -.7386538    .4495261
  F1_dronestrike |  -.2344919    .307212    -0.76   0.445    -.8371396    .3681557
  L2_dronestrike |   -.296548   .3047724    -0.97   0.331    -.8944101     .301314
  F2_dronestrike |  -.2072704   .3082245    -0.67   0.501    -.8119042    .3973634
  L3_dronestrike |   .3010097   .3052412     0.99   0.324     -.297772    .8997914
  F3_dronestrike |   .0326861    .309383     0.11   0.916    -.5742203    .6395925
  L4_dronestrike |  -.1072885   .3049411    -0.35   0.725    -.7054814    .4909044
  F4_dronestrike |   -.011055   .3102154    -0.04   0.972    -.6195943    .5974844
  L5_dronestrike |   .5718808   .3032041     1.89   0.059    -.0229048    1.166666
  F5_dronestrike |   .4149197   .3079633     1.35   0.178    -.1892018    1.019041
  L6_dronestrike |  -.0183414   .3026059    -0.06   0.952    -.6119535    .5752706
  F6_dronestrike |   .2396455   .3053197     0.78   0.433    -.3592902    .8385811
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =      1.472   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    1.01
            Prob > F =    0.4155

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.20
            Prob > F =    0.3023

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   meanndead |        101     3.94937    6.682444          0         47
warning: addnote ignored in appended columns
tables/Rigterink_Tab8.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       2.00
Statistics robust to autocorrelation              Prob > F        =     0.0003
 (kernel=Bartlett bw=12)                          R-squared       =     0.7408
 (panel=groupid time=periodid)                    Adj R-squared   =     0.7070
                                                  Within R-sq.    =     0.0567
                                                  Root MSE        =     0.4990

----------------------------------------------------------------------------------
       targetmil |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0584973    .127315    -0.46   0.646    -.3082469    .1912523
L1_bigfishtarget |  -.0315639   .1293029    -0.24   0.807    -.2852132    .2220855
F1_bigfishtarget |  -.0461728   .1327907    -0.35   0.728    -.3066639    .2143183
L2_bigfishtarget |  -.0212906   .1302568    -0.16   0.870    -.2768112      .23423
F2_bigfishtarget |  -.1069132   .1319119    -0.81   0.418    -.3656804     .151854
L3_bigfishtarget |  -.1193044   .1294499    -0.92   0.357     -.373242    .1346332
F3_bigfishtarget |  -.0210814    .132138    -0.16   0.873    -.2802923    .2381294
L4_bigfishtarget |   .0712299   .1299939     0.55   0.584     -.183775    .3262347
F4_bigfishtarget |  -.1301329   .1294259    -1.01   0.315    -.3840235    .1237577
L5_bigfishtarget |  -.0957646    .131178    -0.73   0.465    -.3530923     .161563
F5_bigfishtarget |    .097139   .1334125     0.73   0.467    -.1645718    .3588499
L6_bigfishtarget |  -.0671199   .1351797    -0.50   0.620    -.3322974    .1980576
F6_bigfishtarget |  -.2669558   .1337326    -2.00   0.046    -.5292947   -.0046169
     bigfishdied |   .2302689    .192964     1.19   0.233    -.1482623    .6088001
  L1_bigfishdied |   .3306647   .1963947     1.68   0.092    -.0545964    .7159258
  F1_bigfishdied |   .0453838   .2002894     0.23   0.821    -.3475173    .4382849
  L2_bigfishdied |   .5893808   .1937839     3.04   0.002     .2092413    .9695202
  F2_bigfishdied |   .2123493   .1984529     1.07   0.285    -.1769493    .6016478
  L3_bigfishdied |   .5451929   .1932851     2.82   0.005     .1660318     .924354
  F3_bigfishdied |   .3744621   .1984812     1.89   0.059    -.0148921    .7638162
  L4_bigfishdied |   .0647313    .197285     0.33   0.743    -.3222763    .4517388
  F4_bigfishdied |   .4161592    .200581     2.07   0.038      .022686    .8096324
  L5_bigfishdied |   .1154497   .1922225     0.60   0.548    -.2616268    .4925262
  F5_bigfishdied |   .2804495   .1960646     1.43   0.153     -.104164    .6650629
  L6_bigfishdied |   .5318676   .1939436     2.74   0.006     .1514148    .9123204
  F6_bigfishdied |   .3823384    .191515     2.00   0.046     .0066496    .7580271
     dronestrike |  -.0065374   .0218933    -0.30   0.765    -.0494848      .03641
  L1_dronestrike |  -.0592529   .0220112    -2.69   0.007    -.1024315   -.0160743
  F1_dronestrike |  -.0064524   .0222261    -0.29   0.772    -.0500525    .0371477
  L2_dronestrike |  -.0382771   .0220124    -1.74   0.082    -.0814581    .0049039
  F2_dronestrike |  -.0069668   .0220469    -0.32   0.752    -.0502154    .0362818
  L3_dronestrike |  -.0115715    .021754    -0.53   0.595    -.0542455    .0311026
  F3_dronestrike |  -.0483566   .0219046    -2.21   0.027    -.0913261   -.0053871
  L4_dronestrike |  -.0276802   .0219326    -1.26   0.207    -.0707048    .0153443
  F4_dronestrike |  -.0097987   .0227177    -0.43   0.666    -.0543632    .0347658
  L5_dronestrike |  -.0131416   .0232949    -0.56   0.573    -.0588385    .0325553
  F5_dronestrike |  -.0195071   .0239497    -0.81   0.415    -.0664885    .0274742
  L6_dronestrike |  -.0081737   .0261782    -0.31   0.755    -.0595266    .0431793
  F6_dronestrike |   .0188855   .0263503     0.72   0.474     -.032805     .070576
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     17.766   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    4.29
            Prob > F =    0.0003

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.26
            Prob > F =    0.2727

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
   targetmil |        101    1.078633    .9978072          0   3.218876
warning: addnote ignored in appended columns
tables/Rigterink_Tab8.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       2.45
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.3550
 (panel=groupid time=periodid)                    Adj R-squared   =     0.2708
                                                  Within R-sq.    =     0.0522
                                                  Root MSE        =     0.1657

----------------------------------------------------------------------------------
     killwoundus |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0618771   .0429079    -1.44   0.150    -.1460481    .0222939
L1_bigfishtarget |   .0170193   .0435839     0.39   0.696    -.0684779    .1025165
F1_bigfishtarget |  -.0294912   .0445361    -0.66   0.508    -.1168562    .0578737
L2_bigfishtarget |   .0636196   .0437502     1.45   0.146    -.0222038     .149443
F2_bigfishtarget |   .2241047     .04444     5.04   0.000     .1369283    .3112812
L3_bigfishtarget |  -.0522688   .0436055    -1.20   0.231    -.1378083    .0332708
F3_bigfishtarget |  -.0215763   .0445326    -0.48   0.628    -.1089345    .0657818
L4_bigfishtarget |  -.0140547   .0437986    -0.32   0.748     -.099973    .0718637
F4_bigfishtarget |  -.0995042   .0439997    -2.26   0.024    -.1858171   -.0131914
L5_bigfishtarget |   .0270286   .0431203     0.63   0.531    -.0575591    .1116164
F5_bigfishtarget |   .0433407   .0444786     0.97   0.330    -.0439114    .1305929
L6_bigfishtarget |   .0300624   .0442191     0.68   0.497    -.0566807    .1168056
F6_bigfishtarget |  -.0085837    .044505    -0.19   0.847    -.0958878    .0787203
     bigfishdied |    .028636   .0632938     0.45   0.651    -.0955253    .1527974
  L1_bigfishdied |  -.0558737   .0639077    -0.87   0.382    -.1812394    .0694919
  F1_bigfishdied |   .0856057   .0650291     1.32   0.188    -.0419597    .2131712
  L2_bigfishdied |   .0287918   .0634373     0.45   0.650    -.0956511    .1532346
  F2_bigfishdied |  -.1428933     .06455    -2.21   0.027     -.269519   -.0162676
  L3_bigfishdied |    .067534   .0634391     1.06   0.287    -.0569123    .1919803
  F3_bigfishdied |  -.0422816   .0646489    -0.65   0.513    -.1691012    .0845381
  L4_bigfishdied |   .0761696   .0639269     1.19   0.234    -.0492337     .201573
  F4_bigfishdied |   .0551639    .064792     0.85   0.395    -.0719365    .1822643
  L5_bigfishdied |  -.0373297   .0627128    -0.60   0.552    -.1603513    .0856918
  F5_bigfishdied |    .024886   .0640146     0.39   0.698    -.1006894    .1504613
  L6_bigfishdied |  -.0283252   .0641751    -0.44   0.659    -.1542154     .097565
  F6_bigfishdied |   .0907451   .0634076     1.43   0.153    -.0336395    .2151298
     dronestrike |   .0068487    .008135     0.84   0.400    -.0091095    .0228069
  L1_dronestrike |   .0012257   .0081497     0.15   0.880    -.0147613    .0172127
  F1_dronestrike |   .0290622    .008254     3.52   0.000     .0128705    .0452539
  L2_dronestrike |  -.0043669   .0081864    -0.53   0.594    -.0204259     .011692
  F2_dronestrike |  -.0127311     .00826    -1.54   0.123    -.0289344    .0034723
  L3_dronestrike |  -.0060376   .0081672    -0.74   0.460    -.0220589    .0099838
  F3_dronestrike |  -.0194999   .0082654    -2.36   0.018    -.0357138    -.003286
  L4_dronestrike |  -.0171028   .0081824    -2.09   0.037    -.0331539   -.0010518
  F4_dronestrike |   .0014052   .0083838     0.17   0.867     -.015041    .0178514
  L5_dronestrike |   .0023992   .0083631     0.29   0.774    -.0140064    .0188047
  F5_dronestrike |  -.0100753   .0085378    -1.18   0.238    -.0268236     .006673
  L6_dronestrike |   .0080127   .0086827     0.92   0.356    -.0090198    .0250452
  F6_dronestrike |  -.0123609   .0087551    -1.41   0.158    -.0295355    .0048137
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =      4.158   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    0.83
            Prob > F =    0.5433

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    2.16
            Prob > F =    0.0448

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
 killwoundus |        101    .0629318     .221283          0   1.098612
warning: addnote ignored in appended columns
tables/Rigterink_Tab8.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.73
Statistics robust to autocorrelation              Prob > F        =     0.0038
 (kernel=Bartlett bw=12)                          R-squared       =     0.8184
 (panel=groupid time=periodid)                    Adj R-squared   =     0.7947
                                                  Within R-sq.    =     0.0385
                                                  Root MSE        =     0.2851

----------------------------------------------------------------------------------
          pakall |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0622946   .0737366    -0.84   0.398    -.2069413    .0823521
L1_bigfishtarget |   -.023263   .0748864    -0.31   0.756    -.1701651    .1236391
F1_bigfishtarget |   .0388748   .0763891     0.51   0.611    -.1109753    .1887249
L2_bigfishtarget |   .0937981   .0749725     1.25   0.211    -.0532731    .2408693
F2_bigfishtarget |  -.1285679   .0761794    -1.69   0.092    -.2780065    .0208707
L3_bigfishtarget |  -.0307721   .0749615    -0.41   0.681    -.1778215    .1162774
F3_bigfishtarget |   .0272575   .0765289     0.36   0.722    -.1228668    .1773817
L4_bigfishtarget |   .0678075   .0753258     0.90   0.368    -.0799566    .2155716
F4_bigfishtarget |   .1052468   .0757251     1.39   0.165    -.0433006    .2537942
L5_bigfishtarget |  -.0073513   .0741493    -0.10   0.921    -.1528075     .138105
F5_bigfishtarget |   .0067036   .0764692     0.09   0.930    -.1433035    .1567107
L6_bigfishtarget |  -.1142473   .0761292    -1.50   0.134    -.2635874    .0350929
F6_bigfishtarget |   -.093845   .0765368    -1.23   0.220    -.2439847    .0562947
     bigfishdied |    .040481   .1095458     0.37   0.712    -.1744113    .2553733
  L1_bigfishdied |  -.0409312   .1103755    -0.37   0.711    -.2574512    .1755887
  F1_bigfishdied |  -.0304006   .1122599    -0.27   0.787    -.2506172     .189816
  L2_bigfishdied |  -.1170681    .109573    -1.07   0.286    -.3320138    .0978777
  F2_bigfishdied |  -.0273656   .1115707    -0.25   0.806    -.2462303    .1914991
  L3_bigfishdied |    .163086   .1095957     1.49   0.137    -.0519042    .3780762
  F3_bigfishdied |  -.0305581   .1117529    -0.27   0.785    -.2497802     .188664
  L4_bigfishdied |  -.2212043   .1104197    -2.00   0.045     -.437811   -.0045976
  F4_bigfishdied |     .09594   .1119307     0.86   0.392    -.1236307    .3155108
  L5_bigfishdied |   .0188856   .1083432     0.17   0.862    -.1936478     .231419
  F5_bigfishdied |   .0092329   .1105846     0.08   0.933    -.2076972    .2261631
  L6_bigfishdied |   .1018772   .1109445     0.92   0.359     -.115759    .3195133
  F6_bigfishdied |   .0874832   .1090878     0.80   0.423    -.1265108    .3014772
     dronestrike |   .0251314    .013831     1.82   0.069    -.0020004    .0522632
  L1_dronestrike |  -.0061419    .013808    -0.44   0.657    -.0332286    .0209449
  F1_dronestrike |   .0370511   .0139928     2.65   0.008     .0096019    .0645003
  L2_dronestrike |   .0016543   .0138576     0.12   0.905    -.0255297    .0288384
  F2_dronestrike |   .0199611   .0139592     1.43   0.153    -.0074223    .0473444
  L3_dronestrike |  -.0085639   .0137955    -0.62   0.535     -.035626    .0184982
  F3_dronestrike |  -.0132604    .013952    -0.95   0.342    -.0406296    .0141087
  L4_dronestrike |  -.0102606   .0138181    -0.74   0.458    -.0373672     .016846
  F4_dronestrike |  -.0520691   .0141464    -3.68   0.000    -.0798196   -.0243185
  L5_dronestrike |  -.0250766   .0140778    -1.78   0.075    -.0526924    .0025393
  F5_dronestrike |   .0245348   .0143704     1.71   0.088    -.0036552    .0527247
  L6_dronestrike |  -.0148317   .0149202    -0.99   0.320    -.0441002    .0144368
  F6_dronestrike |    .026002   .0150616     1.73   0.085    -.0035439     .055548
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     29.874   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    2.36
            Prob > F =    0.0284

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    0.31
            Prob > F =    0.9328

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
      pakall |        101    .9474773      1.1919          0   3.401197
warning: addnote ignored in appended columns
tables/Rigterink_Tab8.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       1.41
Statistics robust to autocorrelation              Prob > F        =     0.0509
 (kernel=Bartlett bw=12)                          R-squared       =     0.8932
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8793
                                                  Within R-sq.    =     0.0208
                                                  Root MSE        =     0.3247

----------------------------------------------------------------------------------
            afgh |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0492825   .0830143    -0.59   0.553     -.212129    .1135641
L1_bigfishtarget |  -.0715629   .0842857    -0.85   0.396    -.2369034    .0937776
F1_bigfishtarget |   .1516893   .0865153     1.75   0.080     -.018025    .3214035
L2_bigfishtarget |  -.0032647   .0849151    -0.04   0.969    -.1698398    .1633104
F2_bigfishtarget |   .0042622   .0860002     0.05   0.960    -.1644415    .1729659
L3_bigfishtarget |  -.0732683   .0843482    -0.87   0.385    -.2387314    .0921949
F3_bigfishtarget |  -.0988707   .0861138    -1.15   0.251    -.2677973    .0700559
L4_bigfishtarget |  -.1048121   .0847134    -1.24   0.216    -.2709915    .0613673
F4_bigfishtarget |   .0698358   .0844391     0.83   0.408    -.0958056    .2354772
L5_bigfishtarget |  -.0405638   .0852941    -0.48   0.634    -.2078823    .1267548
F5_bigfishtarget |   .0697432   .0868702     0.80   0.422    -.1006673    .2401537
L6_bigfishtarget |   .1397978   .0878391     1.59   0.112    -.0325133    .3121089
F6_bigfishtarget |   .0707098    .087062     0.81   0.417    -.1000769    .2414965
     bigfishdied |   .0734748   .1254655     0.59   0.558    -.1726467    .3195963
  L1_bigfishdied |   -.053898   .1275546    -0.42   0.673    -.3041176    .1963216
  F1_bigfishdied |  -.1880105   .1300733    -1.45   0.149     -.443171      .06715
  L2_bigfishdied |   .0099962    .125953     0.08   0.937    -.2370817    .2570741
  F2_bigfishdied |  -.0754369   .1288838    -0.59   0.558    -.3282641    .1773903
  L3_bigfishdied |   .0699405   .1256313     0.56   0.578    -.1765063    .3163872
  F3_bigfishdied |   .0515127   .1289282     0.40   0.690    -.2014016     .304427
  L4_bigfishdied |    .071633   .1280371     0.56   0.576    -.1795331    .3227991
  F4_bigfishdied |   .1735665   .1301601     1.33   0.183    -.0817642    .4288972
  L5_bigfishdied |   .0623551   .1248276     0.50   0.617    -.1825151    .3072254
  F5_bigfishdied |  -.0935561   .1273469    -0.73   0.463    -.3433683    .1562561
  L6_bigfishdied |  -.0477928   .1260803    -0.38   0.705    -.2951203    .1995348
  F6_bigfishdied |  -.1517935   .1246112    -1.22   0.223    -.3962392    .0926522
     dronestrike |   .0036625   .0144608     0.25   0.800    -.0247047    .0320298
  L1_dronestrike |  -.0207097   .0145225    -1.43   0.154    -.0491981    .0077786
  F1_dronestrike |  -.0057191   .0146723    -0.39   0.697    -.0345012    .0230631
  L2_dronestrike |   .0009499   .0145382     0.07   0.948    -.0275692    .0294691
  F2_dronestrike |   .0136554   .0145775     0.94   0.349    -.0149408    .0422516
  L3_dronestrike |   .0182914   .0143865     1.27   0.204    -.0099302     .046513
  F3_dronestrike |   -.004611   .0144894    -0.32   0.750    -.0330345    .0238124
  L4_dronestrike |   .0029858   .0144896     0.21   0.837     -.025438    .0314096
  F4_dronestrike |  -.0176944   .0149803    -1.18   0.238    -.0470808     .011692
  L5_dronestrike |   .0163635   .0153294     1.07   0.286    -.0137076    .0464346
  F5_dronestrike |  -.0099713    .015736    -0.63   0.526    -.0408401    .0208975
  L6_dronestrike |   .0116854   .0170449     0.69   0.493    -.0217511    .0451218
  F6_dronestrike |   .0196286   .0171463     1.14   0.253    -.0140068    .0532639
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     69.319   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    0.32
            Prob > F =    0.9266

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    2.02
            Prob > F =    0.0604

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
        afgh |        101    .2519536    .6501573          0   2.833213
warning: addnote ignored in appended columns
tables/Rigterink_Tab8.tex
dir : seeout
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  39,   1394) =       2.12
Statistics robust to autocorrelation              Prob > F        =     0.0001
 (kernel=Bartlett bw=12)                          R-squared       =     0.7968
 (panel=groupid time=periodid)                    Adj R-squared   =     0.7703
                                                  Within R-sq.    =     0.1000
                                                  Root MSE        =     0.3272

----------------------------------------------------------------------------------
             row |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-----------------+----------------------------------------------------------------
   bigfishtarget |  -.0038057   .0833913    -0.05   0.964    -.1673917    .1597802
L1_bigfishtarget |   .0223275   .0847023     0.26   0.792    -.1438302    .1884852
F1_bigfishtarget |   .0221455   .0868578     0.25   0.799    -.1482405    .1925316
L2_bigfishtarget |  -.1354279   .0853239    -1.59   0.113    -.3028049    .0319492
F2_bigfishtarget |   .0283966   .0864959     0.33   0.743    -.1412795    .1980727
L3_bigfishtarget |   .0663556    .084832     0.78   0.434    -.1000566    .2327678
F3_bigfishtarget |  -.0581524   .0866575    -0.67   0.502    -.2281456    .1118407
L4_bigfishtarget |     .08897   .0852758     1.04   0.297    -.0783127    .2562527
F4_bigfishtarget |  -.0613196   .0850993    -0.72   0.471     -.228256    .1056168
L5_bigfishtarget |   .0865156   .0858342     1.01   0.314    -.0818625    .2548938
F5_bigfishtarget |   -.100832   .0875435    -1.15   0.250    -.2725633    .0708993
L6_bigfishtarget |   .0128546   .0883981     0.15   0.884     -.160553    .1862623
F6_bigfishtarget |  -.0386556   .0877258    -0.44   0.660    -.2107444    .1334332
     bigfishdied |   .3265864   .1265922     2.58   0.010     .0782546    .5749183
  L1_bigfishdied |   .1746408   .1284792     1.36   0.174    -.0773927    .4266742
  F1_bigfishdied |   .2805125   .1309952     2.14   0.032     .0235435    .5374815
  L2_bigfishdied |   .4621924   .1270068     3.64   0.000     .2130473    .7113375
  F2_bigfishdied |   .1131496   .1299091     0.87   0.384    -.1416887    .3679879
  L3_bigfishdied |   .3311465   .1266955     2.61   0.009      .082612     .579681
  F3_bigfishdied |   .2254264   .1300169     1.73   0.083    -.0296235    .4804763
  L4_bigfishdied |   .2748642   .1289964     2.13   0.033     .0218162    .5279122
  F4_bigfishdied |    .126493   .1311158     0.96   0.335    -.1307126    .3836986
  L5_bigfishdied |   .0544159   .1257598     0.43   0.665     -.192283    .3011148
  F5_bigfishdied |   .3501766   .1282506     2.73   0.006     .0985916    .6017617
  L6_bigfishdied |   .3876527   .1272097     3.05   0.002     .1381096    .6371958
  F6_bigfishdied |   .1949996   .1255023     1.55   0.120     -.051194    .4411933
     dronestrike |  -.0032349   .0145779    -0.22   0.824    -.0318319    .0253621
  L1_dronestrike |   .0023812   .0145999     0.16   0.870    -.0262588    .0310213
  F1_dronestrike |   .0308319   .0147717     2.09   0.037     .0018547    .0598091
  L2_dronestrike |   .0159481   .0146568     1.09   0.277    -.0128037    .0446999
  F2_dronestrike |   .0217124   .0147078     1.48   0.140    -.0071394    .0505642
  L3_dronestrike |   .0012209    .014512     0.08   0.933    -.0272467    .0296886
  F3_dronestrike |   .0093907   .0146285     0.64   0.521    -.0193055    .0380869
  L4_dronestrike |  -.0175712   .0146045    -1.20   0.229    -.0462204    .0110779
  F4_dronestrike |   .0311424   .0150879     2.06   0.039      .001545    .0607398
  L5_dronestrike |  -.0005705   .0154428    -0.04   0.971    -.0308642    .0297233
  F5_dronestrike |   .0572204    .015844     3.61   0.000     .0261397     .088301
  L6_dronestrike |  -.0024039   .0171507    -0.14   0.889    -.0360479    .0312401
  F6_dronestrike |   .0432764   .0172889     2.50   0.012     .0093614    .0771914
-----------------+----------------------------------------------------------------
        Absorbed |      F(143, 1394) =     28.973   0.000             (Joint test)
----------------------------------------------------------------------------------

Absorbed degrees of freedom:
-------------------------------------------------------------------+
     Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-----------------+-------------------------------------------------|
         groupid |           13              13              0     | 
        periodid |          131             132              1     | 
-------------------------------------------------------------------+

 ( 1)  L1_bigfishdied = 0
 ( 2)  L2_bigfishdied = 0
 ( 3)  L3_bigfishdied = 0
 ( 4)  L4_bigfishdied = 0
 ( 5)  L5_bigfishdied = 0
 ( 6)  L6_bigfishdied = 0

       F(  6,  1394) =    4.12
            Prob > F =    0.0004

 ( 1)  F1_bigfishdied = 0
 ( 2)  F2_bigfishdied = 0
 ( 3)  F3_bigfishdied = 0
 ( 4)  F4_bigfishdied = 0
 ( 5)  F5_bigfishdied = 0
 ( 6)  F6_bigfishdied = 0

       F(  6,  1394) =    1.83
            Prob > F =    0.0889

    Variable |        Obs        Mean    Std. Dev.       Min        Max
-------------+---------------------------------------------------------
         row |        101    .8348534    1.303429          0   4.304065
warning: addnote ignored in appended columns
tables/Rigterink_Tab8.tex
dir : seeout

. 
. 
. ***************
. *** Table 9 ***
. ***************
. 
. use "dta/Rigterink_drones_replication_maindataset.dta", clear

. 
. *** Using high casualty estimate ***
. 
. * # of civilians casualties as 'treatment', # casualties as 'control'
. reghdfe terratt *maxcivcas *maxcas, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  26,   1407) =       2.81
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8576
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8405
                                                  Within R-sq.    =     0.1062
                                                  Root MSE        =     0.4796

------------------------------------------------------------------------------
     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   maxcivcas |  -.0140388   .0043476    -3.23   0.001    -.0225673   -.0055102
L1_maxcivcas |  -.0160239   .0043599    -3.68   0.000    -.0245765   -.0074713
F1_maxcivcas |  -.0184889   .0043487    -4.25   0.000    -.0270196   -.0099582
L2_maxcivcas |  -.0166023   .0043509    -3.82   0.000    -.0251373   -.0080674
F2_maxcivcas |  -.0182533   .0043375    -4.21   0.000    -.0267619   -.0097447
L3_maxcivcas |  -.0127261   .0043397    -2.93   0.003     -.021239   -.0042132
F3_maxcivcas |  -.0206568   .0043435    -4.76   0.000    -.0291773   -.0121363
L4_maxcivcas |  -.0102057   .0044571    -2.29   0.022     -.018949   -.0014625
F4_maxcivcas |  -.0142532   .0044355    -3.21   0.001    -.0229542   -.0055523
L5_maxcivcas |   -.006016   .0045011    -1.34   0.182    -.0148456    .0028137
F5_maxcivcas |  -.0167004   .0044829    -3.73   0.000    -.0254944   -.0079065
L6_maxcivcas |  -.0035308   .0043964    -0.80   0.422     -.012155    .0050934
F6_maxcivcas |  -.0033306   .0043561    -0.76   0.445    -.0118758    .0052145
      maxcas |   .0050252   .0022982     2.19   0.029     .0005169    .0095335
   L1_maxcas |   .0035695   .0022983     1.55   0.121     -.000939     .008078
   F1_maxcas |   .0085896   .0022908     3.75   0.000     .0040959    .0130834
   L2_maxcas |   .0038204   .0023027     1.66   0.097    -.0006968    .0083376
   F2_maxcas |   .0073228   .0022927     3.19   0.001     .0028253    .0118204
   L3_maxcas |   .0035269   .0023146     1.52   0.128    -.0010135    .0080672
   F3_maxcas |   .0053391   .0023086     2.31   0.021     .0008104    .0098678
   L4_maxcas |   .0030328   .0023737     1.28   0.202    -.0016235    .0076891
   F4_maxcas |   .0029645   .0024008     1.23   0.217     -.001745    .0076739
   L5_maxcas |   .0015428   .0024322     0.63   0.526    -.0032284     .006314
   F5_maxcas |   .0051993   .0024695     2.11   0.035      .000355    .0100437
   L6_maxcas |   .0016681   .0024652     0.68   0.499    -.0031678     .006504
   F6_maxcas |   .0058935   .0024774     2.38   0.017     .0010337    .0107533
-------------+----------------------------------------------------------------
    Absorbed |      F(143, 1407) =     34.539   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
     groupid |           13              13              0     | 
    periodid |          131             132              1     | 
---------------------------------------------------------------+

. testparm L?_maxcivcas

 ( 1)  L1_maxcivcas = 0
 ( 2)  L2_maxcivcas = 0
 ( 3)  L3_maxcivcas = 0
 ( 4)  L4_maxcivcas = 0
 ( 5)  L5_maxcivcas = 0
 ( 6)  L6_maxcivcas = 0

       F(  6,  1407) =    3.39
            Prob > F =    0.0026

. local lagF = round(r(p), 0.0001)

. testparm F?_maxcivcas

 ( 1)  F1_maxcivcas = 0
 ( 2)  F2_maxcivcas = 0
 ( 3)  F3_maxcivcas = 0
 ( 4)  F4_maxcivcas = 0
 ( 5)  F5_maxcivcas = 0
 ( 6)  F6_maxcivcas = 0

       F(  6,  1407) =    6.48
            Prob > F =    0.0000

. local leadF = round(r(p), 0.0001)

. 
. outreg2 using tables/Rigterink_Tab9, replace label tex(frag)  ///
> keep(maxcivcas L*_maxcivcas) ///
> adds("Prob $>$ F lags", `lagF', "Prob $>$ F leads", `leadF') adec (4) ///
> addtext("Indep. var.", "# civ", "Control", "# cas", "Model", "Gr-mnth", "Group FE", "YES", "Period FE", "YES", "Time trend", "NO", "Affil
> iate FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
tables/Rigterink_Tab9.tex
dir : seeout

. 
. * Only civilian casualties as 'treatment', any drone strike as 'control'
. preserve

. 
. drop *maxcivcas *maxcas

. rename (*civonlyl *dronestrikedum) (*maxcivcas *maxcas)

. 
. reghdfe terratt *maxcivcas *maxcas, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  26,   1407) =       2.26
Statistics robust to autocorrelation              Prob > F        =     0.0003
 (kernel=Bartlett bw=12)                          R-squared       =     0.8479
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8297
                                                  Within R-sq.    =     0.0456
                                                  Root MSE        =     0.4956

------------------------------------------------------------------------------
     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   maxcivcas |  -.0381321   .0759847    -0.50   0.616    -.1871875    .1109233
L1_maxcivcas |  -.1493056      .0762    -1.96   0.050    -.2987834    .0001723
F1_maxcivcas |  -.1200337   .0771497    -1.56   0.120    -.2713746    .0313072
L2_maxcivcas |  -.0828417   .0780105    -1.06   0.288     -.235871    .0701877
F2_maxcivcas |   -.180231   .0790466    -2.28   0.023    -.3352929   -.0251691
L3_maxcivcas |  -.0616769   .0769999    -0.80   0.423    -.2127238      .08937
F3_maxcivcas |  -.1468989   .0780311    -1.88   0.060    -.2999688    .0061711
L4_maxcivcas |  -.0075109   .0760025    -0.10   0.921    -.1566013    .1415794
F4_maxcivcas |  -.2345183    .076651    -3.06   0.002    -.3848809   -.0841557
L5_maxcivcas |  -.1012532   .0766601    -1.32   0.187    -.2516337    .0491272
F5_maxcivcas |  -.2142427   .0769558    -2.78   0.005    -.3652031   -.0632823
L6_maxcivcas |  -.0583234   .0808944    -0.72   0.471    -.2170099    .1003631
F6_maxcivcas |   .1420928   .0824144     1.72   0.085    -.0195755    .3037612
      maxcas |    .066325   .0455811     1.46   0.146    -.0230892    .1557391
   L1_maxcas |  -.0017105    .045392    -0.04   0.970    -.0907539    .0873329
   F1_maxcas |   .0527332   .0447442     1.18   0.239    -.0350393    .1405057
   L2_maxcas |   .0846714   .0460135     1.84   0.066    -.0055911    .1749339
   F2_maxcas |   .1070528   .0446997     2.39   0.017     .0193675    .1947381
   L3_maxcas |  -.0066699    .046919    -0.14   0.887    -.0987086    .0853688
   F3_maxcas |   .0379052   .0455756     0.83   0.406    -.0514983    .1273086
   L4_maxcas |  -.0197164   .0476406    -0.41   0.679    -.1131707    .0737379
   F4_maxcas |   .0662599   .0459684     1.44   0.150     -.023914    .1564338
   L5_maxcas |   .1140426   .0485064     2.35   0.019     .0188901    .2091952
   F5_maxcas |    .107176   .0474606     2.26   0.024     .0140748    .2002772
   L6_maxcas |   .0864183   .0503461     1.72   0.086    -.0123431    .1851798
   F6_maxcas |   .0901778   .0491134     1.84   0.067    -.0061655    .1865211
-------------+----------------------------------------------------------------
    Absorbed |      F(143, 1407) =     25.688   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
     groupid |           13              13              0     | 
    periodid |          131             132              1     | 
---------------------------------------------------------------+

. testparm L?_maxcivcas

 ( 1)  L1_maxcivcas = 0
 ( 2)  L2_maxcivcas = 0
 ( 3)  L3_maxcivcas = 0
 ( 4)  L4_maxcivcas = 0
 ( 5)  L5_maxcivcas = 0
 ( 6)  L6_maxcivcas = 0

       F(  6,  1407) =    0.92
            Prob > F =    0.4792

. local lagF = round(r(p), 0.0001)

. testparm F?_maxcivcas

 ( 1)  F1_maxcivcas = 0
 ( 2)  F2_maxcivcas = 0
 ( 3)  F3_maxcivcas = 0
 ( 4)  F4_maxcivcas = 0
 ( 5)  F5_maxcivcas = 0
 ( 6)  F6_maxcivcas = 0

       F(  6,  1407) =    4.82
            Prob > F =    0.0001

. local leadF = round(r(p), 0.0001)

. 
. outreg2 using tables/Rigterink_Tab9, append label tex(frag)  ///
> keep(maxcivcas L*_maxcivcas) ///
> adds("Prob $>$ F lags", `lagF', "Prob $>$ F leads", `leadF') adec (4) ///
> addtext("Indep. var.", "only civ", "Control", "strike", "Model", "Gr-mnth", "Group FE", "YES", "Period FE", "YES", "Time trend", "NO", "A
> ffiliate FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab9.tex
dir : seeout

. 
. restore

. 
. *** Aggregating all groups ***
. 
. preserve

. 
. collapse (rawsum) terratt maxcivcas maxcas (max) civonlyl dronestrikedum, by(periodid)

. 
. tsset periodid
        time variable:  periodid, 1 to 144
                delta:  1 unit

. 
. label var terratt "Terr. att."

. forvalues i = 1(1)6 {
  2.         for var maxcivcas maxcas civonlyl dronestrikedum: gen F`i'_X = F`i'.X \ gen L`i'_X = L`i'.X
  3.         for var L`i'_*: label var X "t+`i'"
  4. }

->  gen F1_maxcivcas = F1.maxcivcas
(1 missing value generated)

->  gen L1_maxcivcas = L1.maxcivcas
(1 missing value generated)

->  gen F1_maxcas = F1.maxcas
(1 missing value generated)

->  gen L1_maxcas = L1.maxcas
(1 missing value generated)

->  gen F1_civonlyl = F1.civonlyl
(1 missing value generated)

->  gen L1_civonlyl = L1.civonlyl
(1 missing value generated)

->  gen F1_dronestrikedum = F1.dronestrikedum
(1 missing value generated)

->  gen L1_dronestrikedum = L1.dronestrikedum
(1 missing value generated)

->  label var L1_maxcivcas `"t+1"'

->  label var L1_maxcas `"t+1"'

->  label var L1_civonlyl `"t+1"'

->  label var L1_dronestrikedum `"t+1"'

->  gen F2_maxcivcas = F2.maxcivcas
(2 missing values generated)

->  gen L2_maxcivcas = L2.maxcivcas
(2 missing values generated)

->  gen F2_maxcas = F2.maxcas
(2 missing values generated)

->  gen L2_maxcas = L2.maxcas
(2 missing values generated)

->  gen F2_civonlyl = F2.civonlyl
(2 missing values generated)

->  gen L2_civonlyl = L2.civonlyl
(2 missing values generated)

->  gen F2_dronestrikedum = F2.dronestrikedum
(2 missing values generated)

->  gen L2_dronestrikedum = L2.dronestrikedum
(2 missing values generated)

->  label var L2_maxcivcas `"t+2"'

->  label var L2_maxcas `"t+2"'

->  label var L2_civonlyl `"t+2"'

->  label var L2_dronestrikedum `"t+2"'

->  gen F3_maxcivcas = F3.maxcivcas
(3 missing values generated)

->  gen L3_maxcivcas = L3.maxcivcas
(3 missing values generated)

->  gen F3_maxcas = F3.maxcas
(3 missing values generated)

->  gen L3_maxcas = L3.maxcas
(3 missing values generated)

->  gen F3_civonlyl = F3.civonlyl
(3 missing values generated)

->  gen L3_civonlyl = L3.civonlyl
(3 missing values generated)

->  gen F3_dronestrikedum = F3.dronestrikedum
(3 missing values generated)

->  gen L3_dronestrikedum = L3.dronestrikedum
(3 missing values generated)

->  label var L3_maxcivcas `"t+3"'

->  label var L3_maxcas `"t+3"'

->  label var L3_civonlyl `"t+3"'

->  label var L3_dronestrikedum `"t+3"'

->  gen F4_maxcivcas = F4.maxcivcas
(4 missing values generated)

->  gen L4_maxcivcas = L4.maxcivcas
(4 missing values generated)

->  gen F4_maxcas = F4.maxcas
(4 missing values generated)

->  gen L4_maxcas = L4.maxcas
(4 missing values generated)

->  gen F4_civonlyl = F4.civonlyl
(4 missing values generated)

->  gen L4_civonlyl = L4.civonlyl
(4 missing values generated)

->  gen F4_dronestrikedum = F4.dronestrikedum
(4 missing values generated)

->  gen L4_dronestrikedum = L4.dronestrikedum
(4 missing values generated)

->  label var L4_maxcivcas `"t+4"'

->  label var L4_maxcas `"t+4"'

->  label var L4_civonlyl `"t+4"'

->  label var L4_dronestrikedum `"t+4"'

->  gen F5_maxcivcas = F5.maxcivcas
(5 missing values generated)

->  gen L5_maxcivcas = L5.maxcivcas
(5 missing values generated)

->  gen F5_maxcas = F5.maxcas
(5 missing values generated)

->  gen L5_maxcas = L5.maxcas
(5 missing values generated)

->  gen F5_civonlyl = F5.civonlyl
(5 missing values generated)

->  gen L5_civonlyl = L5.civonlyl
(5 missing values generated)

->  gen F5_dronestrikedum = F5.dronestrikedum
(5 missing values generated)

->  gen L5_dronestrikedum = L5.dronestrikedum
(5 missing values generated)

->  label var L5_maxcivcas `"t+5"'

->  label var L5_maxcas `"t+5"'

->  label var L5_civonlyl `"t+5"'

->  label var L5_dronestrikedum `"t+5"'

->  gen F6_maxcivcas = F6.maxcivcas
(6 missing values generated)

->  gen L6_maxcivcas = L6.maxcivcas
(6 missing values generated)

->  gen F6_maxcas = F6.maxcas
(6 missing values generated)

->  gen L6_maxcas = L6.maxcas
(6 missing values generated)

->  gen F6_civonlyl = F6.civonlyl
(6 missing values generated)

->  gen L6_civonlyl = L6.civonlyl
(6 missing values generated)

->  gen F6_dronestrikedum = F6.dronestrikedum
(6 missing values generated)

->  gen L6_dronestrikedum = L6.dronestrikedum
(6 missing values generated)

->  label var L6_maxcivcas `"t+6"'

->  label var L6_maxcas `"t+6"'

->  label var L6_civonlyl `"t+6"'

->  label var L6_dronestrikedum `"t+6"'

.         
. for var maxcas maxcivcas civonlyl dronestrikedum: label var X "t"

->  label var maxcas `"t"'

->  label var maxcivcas `"t"'

->  label var civonlyl `"t"'

->  label var dronestrikedum `"t"'

. 
. * # of civilians casualties as 'treatment', # casualties as 'control'
. newey terratt *maxcivcas *maxcas periodid, lag(12)

Regression with Newey-West standard errors      Number of obs     =        132
maximum lag: 12                                 F( 27,       104) =      65.22
                                                Prob > F          =     0.0000

------------------------------------------------------------------------------
             |             Newey-West
     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   maxcivcas |  -.0146694   .0084384    -1.74   0.085    -.0314031    .0020642
F1_maxcivcas |  -.0099696   .0064293    -1.55   0.124    -.0227191      .00278
L1_maxcivcas |   -.008751   .0086393    -1.01   0.313     -.025883    .0083811
F2_maxcivcas |  -.0155701   .0066898    -2.33   0.022    -.0288362   -.0023041
L2_maxcivcas |  -.0136132   .0068182    -2.00   0.048    -.0271339   -.0000926
F3_maxcivcas |  -.0101135   .0048905    -2.07   0.041    -.0198116   -.0004155
L3_maxcivcas |   .0012012   .0048985     0.25   0.807    -.0085126     .010915
F4_maxcivcas |  -.0019638   .0063483    -0.31   0.758    -.0145527     .010625
L4_maxcivcas |  -.0069429   .0090521    -0.77   0.445    -.0248935    .0110078
F5_maxcivcas |  -.0066611   .0052024    -1.28   0.203    -.0169777    .0036555
L5_maxcivcas |  -.0054961   .0116136    -0.47   0.637    -.0285263    .0175341
F6_maxcivcas |    .007289   .0086452     0.84   0.401    -.0098548    .0244328
L6_maxcivcas |   .0045783   .0074737     0.61   0.541    -.0102424    .0193989
      maxcas |   .0084034   .0042227     1.99   0.049     .0000297    .0167771
   F1_maxcas |   .0095455    .004411     2.16   0.033     .0007984    .0182927
   L1_maxcas |   .0027957   .0049104     0.57   0.570    -.0069418    .0125333
   F2_maxcas |   .0081266   .0040972     1.98   0.050     1.69e-06    .0162515
   L2_maxcas |   .0017915   .0049318     0.36   0.717    -.0079885    .0115715
   F3_maxcas |   .0055185   .0036598     1.51   0.135     -.001739     .012776
   L3_maxcas |  -.0062951   .0031116    -2.02   0.046    -.0124656   -.0001246
   F4_maxcas |   .0029114   .0043562     0.67   0.505    -.0057272      .01155
   L4_maxcas |  -.0056812   .0038038    -1.49   0.138    -.0132242    .0018619
   F5_maxcas |    .008064   .0040205     2.01   0.047     .0000913    .0160367
   L5_maxcas |  -.0037921   .0047262    -0.80   0.424    -.0131643    .0055801
   F6_maxcas |   .0037236    .005458     0.68   0.497    -.0070998     .014547
   L6_maxcas |  -.0026975   .0052208    -0.52   0.606    -.0130506    .0076555
    periodid |   .0702952   .0047045    14.94   0.000      .060966    .0796243
       _cons |   2.665402   .2826855     9.43   0.000     2.104826    3.225978
------------------------------------------------------------------------------

. testparm L?_maxcivcas

 ( 1)  L1_maxcivcas = 0
 ( 2)  L2_maxcivcas = 0
 ( 3)  L3_maxcivcas = 0
 ( 4)  L4_maxcivcas = 0
 ( 5)  L5_maxcivcas = 0
 ( 6)  L6_maxcivcas = 0

       F(  6,   104) =    1.50
            Prob > F =    0.1866

. local lagF = round(r(p), 0.0001)

. testparm F?_maxcivcas

 ( 1)  F1_maxcivcas = 0
 ( 2)  F2_maxcivcas = 0
 ( 3)  F3_maxcivcas = 0
 ( 4)  F4_maxcivcas = 0
 ( 5)  F5_maxcivcas = 0
 ( 6)  F6_maxcivcas = 0

       F(  6,   104) =    1.60
            Prob > F =    0.1546

. local leadF = round(r(p), 0.0001)

. 
. outreg2 using tables/Rigterink_Tab9, append label tex(frag) nocons ///
> keep(maxcivcas L*_maxcivcas) ///
> adds("Prob $>$ F lags", `lagF', "Prob $>$ F leads", `leadF') adec (4) ///
> addtext("Indep. var.", "# civ", "Control", "# cas", "Model", "Month", "Group FE", "NO", "Period FE", "NO", "Time trend", "YES", "Affiliat
> e FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab9.tex
dir : seeout

. 
. * Only civilian casualties as 'treatment', any drone strike as 'control'
. drop *maxcivcas *maxcas

. rename (*civonlyl *dronestrikedum) (*maxcivcas *maxcas)

. 
. newey terratt *maxcivcas *maxcas periodid, lag(12)

Regression with Newey-West standard errors      Number of obs     =        132
maximum lag: 12                                 F( 27,       104) =      70.78
                                                Prob > F          =     0.0000

------------------------------------------------------------------------------
             |             Newey-West
     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   maxcivcas |   .6667789   .2484657     2.68   0.008      .174062    1.159496
F1_maxcivcas |   .0217797   .2690148     0.08   0.936    -.5116867    .5552461
L1_maxcivcas |   -.019225   .3145729    -0.06   0.951    -.6430348    .6045849
F2_maxcivcas |  -.1435626    .328698    -0.44   0.663     -.795383    .5082578
L2_maxcivcas |  -.7492083   .3339105    -2.24   0.027    -1.411365   -.0870513
F3_maxcivcas |   .1998005   .3423839     0.58   0.561    -.4791596    .8787605
L3_maxcivcas |   .3218697   .2425453     1.33   0.187    -.1591067    .8028461
F4_maxcivcas |   -.086092   .2758792    -0.31   0.756    -.6331709    .4609868
L4_maxcivcas |  -.2775616   .2700928    -1.03   0.306    -.8131658    .2580426
F5_maxcivcas |  -.3478328   .4311414    -0.81   0.422    -1.202802    .5071368
L5_maxcivcas |  -.3818324   .2561205    -1.49   0.139     -.889729    .1260641
F6_maxcivcas |   -.357075   .4652871    -0.77   0.445    -1.279757    .5656068
L6_maxcivcas |  -.4353273   .3014305    -1.44   0.152    -1.033075    .1624206
      maxcas |   .1258964   .3119294     0.40   0.687    -.4926714    .7444642
   F1_maxcas |   .1609227    .231015     0.70   0.488    -.2971888    .6190342
   L1_maxcas |   .1929311   .2523108     0.76   0.446    -.3074107    .6932729
   F2_maxcas |   .3720004   .2762296     1.35   0.181    -.1757733     .919774
   L2_maxcas |   .3313995   .2706525     1.22   0.224    -.2053146    .8681137
   F3_maxcas |   .1702778   .3270497     0.52   0.604    -.4782741    .8188297
   L3_maxcas |  -.4967887   .3618177    -1.37   0.173    -1.214287    .2207094
   F4_maxcas |   .7089895   .2884041     2.46   0.016     .1370732    1.280906
   L4_maxcas |   .1090366   .3900472     0.28   0.780    -.6644416    .8825149
   F5_maxcas |   .5776833   .2967982     1.95   0.054    -.0108786    1.166245
   L5_maxcas |   .8425314    .391774     2.15   0.034     .0656287    1.619434
   F6_maxcas |   .4593481   .3718383     1.24   0.219    -.2780213    1.196717
   L6_maxcas |   -.617501   .3051795    -2.02   0.046    -1.222683   -.0123186
    periodid |   .0652668   .0088524     7.37   0.000     .0477121    .0828215
       _cons |   1.853522   .3458407     5.36   0.000     1.167707    2.539337
------------------------------------------------------------------------------

. testparm L?_maxcivcas

 ( 1)  L1_maxcivcas = 0
 ( 2)  L2_maxcivcas = 0
 ( 3)  L3_maxcivcas = 0
 ( 4)  L4_maxcivcas = 0
 ( 5)  L5_maxcivcas = 0
 ( 6)  L6_maxcivcas = 0

       F(  6,   104) =    4.28
            Prob > F =    0.0007

. local lagF = round(r(p), 0.0001)

. testparm F?_maxcivcas

 ( 1)  F1_maxcivcas = 0
 ( 2)  F2_maxcivcas = 0
 ( 3)  F3_maxcivcas = 0
 ( 4)  F4_maxcivcas = 0
 ( 5)  F5_maxcivcas = 0
 ( 6)  F6_maxcivcas = 0

       F(  6,   104) =    0.60
            Prob > F =    0.7323

. local leadF = round(r(p), 0.0001)

. 
. outreg2 using tables/Rigterink_Tab9, append label tex(frag) nocons ///
> keep(maxcivcas L*_maxcivcas) ///
> adds("Prob $>$ F lags", `lagF', "Prob $>$ F leads", `leadF') adec (4) ///
> addtext("Indep. var.", "only civ", "Control", "strike", "Model", "Month", "Group FE", "NO", "Period FE", "NO", "Time trend", "YES", "Affi
> liate FE", "NO") ///
> nonotes addnote("Newey-West standard errors in parentheses", "* p<0.1 ** p<0.05 *** p<0.01")
warning: addnote ignored in appended columns
tables/Rigterink_Tab9.tex
dir : seeout

. 
. restore 

. 
. 
. *** Using low casualty estimates, mentioned but not shown in paper 
. 
. * Low estimate
. reghdfe terratt *mincivcas *mincas, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  26,   1407) =       3.00
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8586
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8416
                                                  Within R-sq.    =     0.1124
                                                  Root MSE        =     0.4780

------------------------------------------------------------------------------
     terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
   mincivcas |  -.0253341    .005599    -4.52   0.000    -.0363173   -.0143509
L1_mincivcas |  -.0209185   .0056452    -3.71   0.000    -.0319925   -.0098445
F1_mincivcas |  -.0278075   .0055875    -4.98   0.000    -.0387681   -.0168468
L2_mincivcas |  -.0218956   .0056397    -3.88   0.000    -.0329587   -.0108326
F2_mincivcas |  -.0243822    .005637    -4.33   0.000    -.0354399   -.0133244
L3_mincivcas |  -.0126517   .0056433    -2.24   0.025    -.0237219   -.0015816
F3_mincivcas |  -.0225328   .0056428    -3.99   0.000     -.033602   -.0114636
L4_mincivcas |  -.0067038   .0057183    -1.17   0.241    -.0179211    .0045136
F4_mincivcas |  -.0135655   .0057297    -2.37   0.018    -.0248051   -.0023259
L5_mincivcas |  -.0062139    .005748    -1.08   0.280    -.0174895    .0050616
F5_mincivcas |  -.0186684   .0057752    -3.23   0.001    -.0299972   -.0073395
L6_mincivcas |  -.0061868   .0057523    -1.08   0.282    -.0174707    .0050972
F6_mincivcas |  -.0102705   .0057949    -1.77   0.077    -.0216382    .0010971
      mincas |   .0063146     .00293     2.16   0.031     .0005669    .0120623
   L1_mincas |   .0020059   .0029343     0.68   0.494    -.0037501    .0077619
   F1_mincas |   .0098963   .0029207     3.39   0.001     .0041669    .0156257
   L2_mincas |   .0022059   .0029477     0.75   0.454    -.0035764    .0079883
   F2_mincas |   .0064796   .0029479     2.20   0.028     .0006968    .0122624
   L3_mincas |   .0012788   .0029729     0.43   0.667    -.0045529    .0071106
   F3_mincas |   .0021769   .0029712     0.73   0.464    -.0036515    .0080053
   L4_mincas |   .0007555   .0030356     0.25   0.803    -.0051993    .0067102
   F4_mincas |  -.0015747   .0030579    -0.51   0.607    -.0075734    .0044239
   L5_mincas |   .0010817   .0030783     0.35   0.725    -.0049568    .0071202
   F5_mincas |   .0026734   .0031164     0.86   0.391    -.0034398    .0087867
   L6_mincas |   .0033531   .0031963     1.05   0.294    -.0029169    .0096231
   F6_mincas |   .0089305   .0032026     2.79   0.005     .0026482    .0152129
-------------+----------------------------------------------------------------
    Absorbed |      F(143, 1407) =     36.525   0.000             (Joint test)
------------------------------------------------------------------------------

Absorbed degrees of freedom:
---------------------------------------------------------------+
 Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
-------------+-------------------------------------------------|
     groupid |           13              13              0     | 
    periodid |          131             132              1     | 
---------------------------------------------------------------+

. testparm L?_mincivcas

 ( 1)  L1_mincivcas = 0
 ( 2)  L2_mincivcas = 0
 ( 3)  L3_mincivcas = 0
 ( 4)  L4_mincivcas = 0
 ( 5)  L5_mincivcas = 0
 ( 6)  L6_mincivcas = 0

       F(  6,  1407) =    3.43
            Prob > F =    0.0023

. local lagF = round(r(p), 0.0001)

. testparm F?_mincivcas

 ( 1)  F1_mincivcas = 0
 ( 2)  F2_mincivcas = 0
 ( 3)  F3_mincivcas = 0
 ( 4)  F4_mincivcas = 0
 ( 5)  F5_mincivcas = 0
 ( 6)  F6_mincivcas = 0

       F(  6,  1407) =    6.12
            Prob > F =    0.0000

. local leadF = round(r(p), 0.0001)

. 
. reghdfe terratt *civonlys *dronestrikedum, absorb(i.groupid i.periodid) vce(, bw(12))
(converged in 5 iterations)

HDFE Linear regression                            Number of obs   =      1,577
Absorbing 2 HDFE groups                           F(  26,   1407) =       2.53
Statistics robust to autocorrelation              Prob > F        =     0.0000
 (kernel=Bartlett bw=12)                          R-squared       =     0.8518
 (panel=groupid time=periodid)                    Adj R-squared   =     0.8340
                                                  Within R-sq.    =     0.0700
                                                  Root MSE        =     0.4892

-----------------------------------------------------------------------------------
          terratt |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
------------------+----------------------------------------------------------------
         civonlys |  -.0175949   .1035717    -0.17   0.865    -.2207664    .1855766
      L1_civonlys |  -.4173724   .1040504    -4.01   0.000     -.621483   -.2132618
      F1_civonlys |  -.1371758   .1059413    -1.29   0.196    -.3449957    .0706441
      L2_civonlys |  -.3400841   .1051119    -3.24   0.001    -.5462771   -.1338911
      F2_civonlys |   -.330286   .1074266    -3.07   0.002    -.5410195   -.1195525
      L3_civonlys |  -.2458878   .1049972    -2.34   0.019    -.4518556   -.0399199
      F3_civonlys |  -.1459211   .1074646    -1.36   0.175    -.3567292    .0648871
      L4_civonlys |  -.2431865   .1044922    -2.33   0.020    -.4481638   -.0382091
      F4_civonlys |  -.3033929   .1062984    -2.85   0.004    -.5119134   -.0948724
      L5_civonlys |   -.254914   .1059733    -2.41   0.016    -.4627967   -.0470314
      F5_civonlys |  -.2457227   .1083219    -2.27   0.023    -.4582125   -.0332328
      L6_civonlys |  -.0666976   .1083647    -0.62   0.538    -.2792713    .1458761
      F6_civonlys |  -.0420381   .1104797    -0.38   0.704    -.2587607    .1746846
   dronestrikedum |   .0704574   .0428211     1.65   0.100    -.0135427    .1544575
L1_dronestrikedum |   .0102475   .0426321     0.24   0.810    -.0733818    .0938769
F1_dronestrikedum |   .0386597   .0425912     0.91   0.364    -.0448895    .1222088
L2_dronestrikedum |   .1063745    .042778     2.49   0.013     .0224591      .19029
F2_dronestrikedum |   .0913785   .0423632     2.16   0.031     .0082767    .1744803
L3_dronestrikedum |   .0100801   .0431805     0.23   0.815     -.074625    .0947853
F3_dronestrikedum |   .0226761   .0427003     0.53   0.595     -.061087    .1064393
L4_dronestrikedum |   .0068565   .0438709     0.16   0.876     -.079203    .0929159
F4_dronestrikedum |   .0517529   .0433121     1.19   0.232    -.0332103    .1367161
L5_dronestrikedum |   .0983401   .0450052     2.19   0.029     .0100556    .1866246
F5_dronestrikedum |   .0936125   .0444787     2.10   0.035     .0063608    .1808642
L6_dronestrikedum |    .072461   .0469753     1.54   0.123    -.0196882    .1646102
F6_dronestrikedum |   .1355397   .0462781     2.93   0.003     .0447581    .2263213
------------------+----------------------------------------------------------------
         Absorbed |      F(143, 1407) =     26.652   0.000             (Joint test)
-----------------------------------------------------------------------------------

Absorbed degrees of freedom:
--------------------------------------------------------------------+
      Absorbed FE |  Num. Coefs.  =   Categories  -   Redundant     | 
------------------+-------------------------------------------------|
          groupid |           13              13              0     | 
         periodid |          131             132              1     | 
--------------------------------------------------------------------+

. testparm L?_civonlys

 ( 1)  L1_civonlys = 0
 ( 2)  L2_civonlys = 0
 ( 3)  L3_civonlys = 0
 ( 4)  L4_civonlys = 0
 ( 5)  L5_civonlys = 0
 ( 6)  L6_civonlys = 0

       F(  6,  1407) =    3.67
            Prob > F =    0.0013

. local lagF = round(r(p), 0.0001)

. testparm F?_civonlys

 ( 1)  F1_civonlys = 0
 ( 2)  F2_civonlys = 0
 ( 3)  F3_civonlys = 0
 ( 4)  F4_civonlys = 0
 ( 5)  F5_civonlys = 0
 ( 6)  F6_civonlys = 0

       F(  6,  1407) =    2.62
            Prob > F =    0.0158

. local leadF = round(r(p), 0.0001)

. 
. 
. *******************
. *** END OF FILE ***
. *******************
. 
end of do-file

. do "C:\Users\Anouk\AppData\Local\Temp\STD00000000.tmp"

. ************************************************************
. ****************** REPLICATION CODE ************************
. ************************************************************
. * For: Rigterink, The Wane of Command, APSR                                *
. * Tables and Figures in article main text                                  *
. ************************************************************
. * Content of file:                                                                                 *
. /*                                                                                                                 *
> 1. Preliminaries and setting directory                                     *
> 2. Programs needed to produce main results                                 *
> 3. Appendix section B                                                                      *
> 4.                                                                                                                */
. ************************************************************
. 
. /*----------------------------------------------------------
> ---------- Preliminaries and setting directory -------------
> ----------------------------------------------------------*/
. 
. clear all

. version 14

. set more off

. 
. *******************************
. *** Set your directory here ***
. *******************************
. cd "C:\Users\Anouk\Dropbox\LSE\'12-now CSHSRU\SiT\Drones paper\Data\replication"
C:\Users\Anouk\Dropbox\LSE\'12-now CSHSRU\SiT\Drones paper\Data\replication

. 
. cap log close
